switch from exception to DOMException