can isOpen thrown an exception?