Lines Matching defs:exception
216 * the contents of a MaybeHandle<X>, or the "exception" sentinel value.
237 return ReadOnlyRoots(__isolate__).exception(); \
255 ReadOnlyRoots(__isolate__).exception()); \
291 * // code to handle non exception
301 * // code to handle non exception
319 * RETURN_FAILURE_ON_EXCEPTION conditionally returns the "exception" sentinel if
329 * // code to handle non exception
342 ReadOnlyRoots(__isolate__).exception()); \
348 * return type MaybeHandle when an exception was thrown. Example usage:
356 * // code to handle non exception
398 return ReadOnlyRoots(__isolate__).exception(); \
771 // Interface to pending exception.
788 inline void set_scheduled_exception(Object exception);
796 ExceptionHandlerType TopExceptionHandlerType(Object exception);
798 inline bool is_catchable_by_javascript(Object exception);
799 inline bool is_catchable_by_wasm(Object exception);
863 // exceptions. If an exception was thrown and not handled by an external
864 // handler the exception is scheduled to be rethrown when we return to running
865 // JavaScript code. If an exception is scheduled true is returned.
883 // not termination exception.
930 // the result is false, the pending exception is guaranteed to be
939 Object Throw(Object exception) { return ThrowInternal(exception, nullptr); }
940 Object ThrowAt(Handle<JSObject> exception, MessageLocation* location);
944 V8_WARN_UNUSED_RESULT MaybeHandle<T> Throw(Handle<Object> exception) {
945 Throw(*exception);
950 V8_WARN_UNUSED_RESULT MaybeHandle<T> ThrowAt(Handle<JSObject> exception,
952 ThrowAt(exception, location);
978 // Re-throw an exception. This involves no error reporting since error
979 // reporting was handled when the exception was thrown originally.
982 Object ReThrow(Object exception);
983 Object ReThrow(Object exception, Object message);
985 // Find the correct handler for the current pending exception. This also
986 // clears and returns the current pending exception.
989 // Tries to predict whether an exception will be caught. Note that this can
991 // clause will consume or re-throw an exception.
1001 void ScheduleThrow(Object exception);
1005 // Un-schedule an exception that was caught by a TryCatch handler.
1009 // Promote a scheduled exception to pending. Asserts has_scheduled_exception.
1018 Handle<Object> exception);
1020 Handle<Object> exception);
1022 Handle<Object> exception);
1024 Handle<JSMessageObject> CreateMessage(Handle<Object> exception,
1026 Handle<JSMessageObject> CreateMessageOrAbort(Handle<Object> exception,
1031 Handle<JSMessageObject> CreateMessageFromException(Handle<Object> exception);
1033 // Out of resource exception helpers.
2028 // Propagate pending exception message to the v8::TryCatch.
2061 Object ThrowInternal(Object exception, MessageLocation* location);
2154 // not be called and instead the caller should use the pending exception to