Class Errors
java.lang.Object
com.oracle.truffle.js.runtime.Errors
Utility class to to create all kinds of ECMAScript-defined Error Objects.
-
Method Summary
Modifier and TypeMethodDescriptionstatic JSExceptioncreateAggregateError(Object errors, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateAggregateError(Object errors, String message, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateCompileError(String message, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateCompileError(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateError(String message) static JSExceptioncreateError(String message, Throwable e) static JSExceptioncreateErrorCannotConvertToBigInt(JSErrorType type, Object value, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptionstatic JSExceptioncreateEvalError(String message) static JSExceptionstatic JSExceptioncreateLinkError(String message) static JSExceptioncreateLinkError(String message, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateLinkError(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateNotAFileError(String path) static JSExceptioncreateRangeError(String message) static JSExceptioncreateRangeError(String message, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateRangeError(String message, Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateRangeError(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptioncreateRangeErrorCurrencyNotWellFormed(String currencyCode) static JSExceptioncreateRangeErrorFormat(String message, com.oracle.truffle.api.nodes.Node originatingNode, Object... args) static JSExceptioncreateRangeErrorIndexNegative(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateRangeErrorIndexTooLarge(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptioncreateRangeErrorInvalidArrayLength(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptionstatic JSExceptioncreateRangeErrorInvalidCalendar(String calendar) static JSExceptioncreateRangeErrorInvalidDateTimeField(String dateTimeField) static JSExceptioncreateRangeErrorInvalidLanguageId(String languageId) static JSExceptioncreateRangeErrorInvalidLanguageSubtag(String language) static JSExceptioncreateRangeErrorInvalidRegion(String region) static JSExceptioncreateRangeErrorInvalidScript(String script) static JSExceptionstatic JSExceptioncreateRangeErrorInvalidStringLength(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptioncreateRangeErrorInvalidTimeZone(String timeZoneName) static JSExceptioncreateRangeErrorInvalidUnitArgument(String functionName, Object unit) static JSExceptioncreateRangeErrorInvalidUnitIdentifier(String unitIdentifier) static JSExceptionstatic JSExceptioncreateRangeErrorStackOverflow(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptioncreateReferenceError(String message) static JSExceptioncreateReferenceError(String message, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateReferenceError(String message, com.oracle.truffle.api.source.SourceSection sourceLocation) static JSExceptioncreateReferenceError(String message, Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateReferenceErrorDerivedConstructorThisNotInitialized(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateReferenceErrorNotDefined(Object key, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateRuntimeError(String message, JSRealm realm) static JSExceptioncreateRuntimeError(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateSyntaxError(ParserException cause, JSContext context) static JSExceptioncreateSyntaxError(String message) static JSExceptioncreateSyntaxError(String message, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateSyntaxError(String message, Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateSyntaxError(String message, Throwable cause, com.oracle.truffle.api.source.SourceSection sourceLocation, boolean isIncompleteSource) static JSExceptioncreateSyntaxErrorFormat(String message, com.oracle.truffle.api.nodes.Node originatingNode, Object... args) static JSExceptioncreateSyntaxErrorVariableAlreadyDeclared(com.oracle.truffle.api.strings.TruffleString varName, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeError(String message) static JSExceptioncreateTypeError(String message, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeError(String message, Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeError(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptioncreateTypeErrorCannotAddPrivateMember(String name, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorCannotConvertBigIntToNumber(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptioncreateTypeErrorCannotConvertToNumber(String what, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptioncreateTypeErrorCannotConvertToPrimitiveValue(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptioncreateTypeErrorCannotConvertToString(String what, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorCannotDeclareGlobalFunction(Object varName, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorCannotDeletePropertyOf(Object key, Object object) static JSExceptioncreateTypeErrorCannotDeletePropertyOfSealedArray(long index) static JSExceptioncreateTypeErrorCannotGetAccessorProperty(Object key, JSDynamicObject store, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorCannotGetPrivateMember(boolean fieldAccess, com.oracle.truffle.api.strings.TruffleString name, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorCannotGetProperty(Object keyOrIndex, Object object, boolean isGetMethod, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorCannotMixBigIntWithOtherTypes(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorCannotRedefineProperty(long index) static JSExceptionstatic JSExceptionstatic JSExceptioncreateTypeErrorCannotSetAccessorProperty(Object key, JSDynamicObject store, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorCannotSetPrivateMember(Object name, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorCannotSetProperty(Object keyOrIndex, Object object, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorCannotSetProto(JSDynamicObject thisObj, JSDynamicObject proto) static JSExceptioncreateTypeErrorClassConstructorRequiresNew(com.oracle.truffle.api.strings.TruffleString className, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorClassNotFound(Object className) static JSExceptionstatic JSExceptioncreateTypeErrorConstReassignment(Object key, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorDerivedConstructorReturnedIllegalType(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptioncreateTypeErrorFormat(String message, Object... args) static JSExceptionstatic JSExceptioncreateTypeErrorGlobalObjectNotExtensible(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorIncompatibleReceiver(com.oracle.truffle.api.strings.TruffleString methodName, Object receiver) static JSExceptionstatic JSExceptioncreateTypeErrorIncompatibleReceiver(String methodName, Object receiver) static JSExceptionstatic JSExceptioncreateTypeErrorInteropException(Object receiver, com.oracle.truffle.api.interop.InteropException cause, String message, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorInteropException(Object receiver, com.oracle.truffle.api.interop.InteropException cause, String message, Object messageDetails, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptioncreateTypeErrorInvalidIdentifier(Object identifier) static JSExceptioncreateTypeErrorInvalidInstanceofTarget(Object target, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptionstatic JSExceptioncreateTypeErrorIteratorResultNotObject(Object value, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorIterResultNotAnObject(Object value, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptioncreateTypeErrorNoOverloadFound(com.oracle.truffle.api.strings.TruffleString operatorName, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorNotAConstructor(Object object, com.oracle.truffle.api.nodes.Node originatingNode, JSContext context) static JSExceptioncreateTypeErrorNotAConstructor(Object object, JSContext context) static JSExceptionstatic JSExceptionstatic JSExceptioncreateTypeErrorNotAFunction(Object functionObj) static JSExceptioncreateTypeErrorNotAFunction(Object functionObj, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorNotAnObject(Object value) static JSExceptioncreateTypeErrorNotAnObject(Object value, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorNotANumber(Object value) static JSExceptioncreateTypeErrorNotARegExp(Object value) static JSExceptioncreateTypeErrorNotAString(Object value) static JSExceptioncreateTypeErrorNotATruffleObject(String message) static JSExceptionstatic JSExceptioncreateTypeErrorNotExtensible(JSDynamicObject thisObj, Object key) static JSExceptioncreateTypeErrorNotIterable(Object value, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorNotIterator(Object value, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorNotObjectCoercible(Object value, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorNotWritableProperty(long index, Object thisObj, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorNotWritableProperty(Object key, Object thisObj, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptioncreateTypeErrorOwnKeysTrapMissingKey(Object propertyKey) static JSExceptionstatic JSExceptioncreateTypeErrorPrivateSymbolInProxy(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorPropertyDescriptorNotAnObject(Object value, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorProxyGetInvariantViolated(Object propertyKey, Object expectedValue, Object actualValue) static JSExceptionstatic JSExceptioncreateTypeErrorProxyRevoked(com.oracle.truffle.api.strings.TruffleString trap, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptionstatic JSExceptioncreateTypeErrorSetNonObjectReceiver(Object receiver, Object key) static JSExceptioncreateTypeErrorTrapReturnedFalsish(Object trap, Object propertyKey) static JSExceptionstatic JSExceptioncreateTypeErrorUnboxException(Object receiver, com.oracle.truffle.api.interop.InteropException cause, com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptionstatic JSExceptioncreateTypeErrorWrongDecoratorReturn(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateTypeErrorYieldStarThrowMethodMissing(com.oracle.truffle.api.nodes.Node originatingNode) static JSExceptioncreateURIError(String message) static RuntimeExceptionnotImplemented(String message) static OutOfMemoryErrorstatic RuntimeExceptionstatic RuntimeExceptionshouldNotReachHere(String message) static RuntimeExceptionshouldNotReachHere(Throwable exception) static RuntimeExceptionstatic RuntimeExceptionunsupported(String message)
-
Method Details
-
createAggregateError
public static JSException createAggregateError(Object errors, String message, com.oracle.truffle.api.nodes.Node originatingNode) -
createAggregateError
public static JSException createAggregateError(Object errors, com.oracle.truffle.api.nodes.Node originatingNode) -
createError
-
createEvalError
-
createRangeError
-
createRangeError
public static JSException createRangeError(String message, com.oracle.truffle.api.nodes.Node originatingNode) -
createRangeErrorFormat
public static JSException createRangeErrorFormat(String message, com.oracle.truffle.api.nodes.Node originatingNode, Object... args) -
createURIError
-
createTypeError
-
createTypeErrorFormat
-
createTypeError
public static JSException createTypeError(String message, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeError
public static JSException createTypeError(String message, Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotMixBigIntWithOtherTypes
public static JSException createTypeErrorCannotMixBigIntWithOtherTypes(com.oracle.truffle.api.nodes.Node originatingNode) -
createErrorCannotConvertToBigInt
public static JSException createErrorCannotConvertToBigInt(JSErrorType type, Object value, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotConvertBigIntToNumber
public static JSException createTypeErrorCannotConvertBigIntToNumber(com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorNotAFunction
-
createTypeErrorNotAFunction
public static JSException createTypeErrorNotAFunction(Object functionObj, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorNotAConstructor
-
createTypeErrorNotAConstructor
public static JSException createTypeErrorNotAConstructor(Object object, com.oracle.truffle.api.nodes.Node originatingNode, JSContext context) -
createTypeErrorTypeXExpected
-
createTypeErrorCalledOnNonObject
-
createTypeErrorMethodCalledOnNonObjectOrWrongType
-
createTypeErrorSegmenterExpected
-
createTypeErrorSegmentsExpected
-
createTypeErrorDisplayNamesExpected
-
createTypeErrorLocaleExpected
-
createTypeErrorNoOverloadFound
public static JSException createTypeErrorNoOverloadFound(com.oracle.truffle.api.strings.TruffleString operatorName, com.oracle.truffle.api.nodes.Node originatingNode) -
createSyntaxError
-
createSyntaxError
public static JSException createSyntaxError(String message, Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createSyntaxError
-
createSyntaxError
public static JSException createSyntaxError(String message, com.oracle.truffle.api.nodes.Node originatingNode) -
createSyntaxErrorFormat
public static JSException createSyntaxErrorFormat(String message, com.oracle.truffle.api.nodes.Node originatingNode, Object... args) -
createSyntaxError
public static JSException createSyntaxError(String message, Throwable cause, com.oracle.truffle.api.source.SourceSection sourceLocation, boolean isIncompleteSource) -
createSyntaxErrorVariableAlreadyDeclared
public static JSException createSyntaxErrorVariableAlreadyDeclared(com.oracle.truffle.api.strings.TruffleString varName, com.oracle.truffle.api.nodes.Node originatingNode) -
createReferenceError
public static JSException createReferenceError(String message, com.oracle.truffle.api.nodes.Node originatingNode) -
createReferenceError
public static JSException createReferenceError(String message, Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createReferenceError
-
createReferenceError
public static JSException createReferenceError(String message, com.oracle.truffle.api.source.SourceSection sourceLocation) -
createReferenceErrorDerivedConstructorThisNotInitialized
public static JSException createReferenceErrorDerivedConstructorThisNotInitialized(com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorDerivedConstructorReturnedIllegalType
public static JSException createTypeErrorDerivedConstructorReturnedIllegalType(com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorClassConstructorRequiresNew
public static JSException createTypeErrorClassConstructorRequiresNew(com.oracle.truffle.api.strings.TruffleString className, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorNotObjectCoercible
public static JSException createTypeErrorNotObjectCoercible(Object value, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorNotAnObject
-
createTypeErrorNotAnObject
public static JSException createTypeErrorNotAnObject(Object value, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorIterResultNotAnObject
public static JSException createTypeErrorIterResultNotAnObject(Object value, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorNotIterable
public static JSException createTypeErrorNotIterable(Object value, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorNotIterator
public static JSException createTypeErrorNotIterator(Object value, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorPropertyDescriptorNotAnObject
public static JSException createTypeErrorPropertyDescriptorNotAnObject(Object value, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorInvalidPrototype
-
createTypeErrorInvalidInstanceofTarget
public static JSException createTypeErrorInvalidInstanceofTarget(Object target, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotConvertToPrimitiveValue
-
createTypeErrorCannotConvertToPrimitiveValue
public static JSException createTypeErrorCannotConvertToPrimitiveValue(com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotConvertToString
-
createTypeErrorCannotConvertToString
public static JSException createTypeErrorCannotConvertToString(String what, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotConvertToNumber
-
createTypeErrorCannotConvertToNumber
public static JSException createTypeErrorCannotConvertToNumber(String what, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorIncompatibleReceiver
public static JSException createTypeErrorIncompatibleReceiver(com.oracle.truffle.api.strings.TruffleString methodName, Object receiver) -
createTypeErrorIncompatibleReceiver
-
createTypeErrorIncompatibleReceiver
-
createTypeErrorCannotSetProto
public static JSException createTypeErrorCannotSetProto(JSDynamicObject thisObj, JSDynamicObject proto) -
createTypeErrorNotWritableProperty
public static JSException createTypeErrorNotWritableProperty(Object key, Object thisObj, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorNotWritableProperty
public static JSException createTypeErrorNotWritableProperty(long index, Object thisObj, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorLengthNotWritable
-
createTypeErrorNotConfigurableProperty
-
createTypeErrorNotExtensible
-
createTypeErrorSetNonObjectReceiver
-
createTypeErrorConstReassignment
public static JSException createTypeErrorConstReassignment(Object key, com.oracle.truffle.api.nodes.Node originatingNode) -
createReferenceErrorNotDefined
public static JSException createReferenceErrorNotDefined(Object key, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotRedefineProperty
-
createTypeErrorCannotRedefineProperty
-
createTypeErrorCannotRedefineTypedArrayElement
-
createTypeErrorCannotSetProperty
public static JSException createTypeErrorCannotSetProperty(Object keyOrIndex, Object object, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotSetAccessorProperty
public static JSException createTypeErrorCannotSetAccessorProperty(Object key, JSDynamicObject store, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotGetAccessorProperty
public static JSException createTypeErrorCannotGetAccessorProperty(Object key, JSDynamicObject store, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotGetProperty
public static JSException createTypeErrorCannotGetProperty(Object keyOrIndex, Object object, boolean isGetMethod, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotDeclareGlobalFunction
public static JSException createTypeErrorCannotDeclareGlobalFunction(Object varName, com.oracle.truffle.api.nodes.Node originatingNode) -
createRangeErrorCurrencyNotWellFormed
-
createRangeErrorInvalidUnitArgument
-
createRangeErrorInvalidLanguageId
-
createRangeErrorInvalidLanguageSubtag
-
createRangeErrorInvalidRegion
-
createRangeErrorInvalidScript
-
createRangeErrorInvalidCalendar
-
createRangeErrorInvalidDateTimeField
-
createRangeErrorInvalidUnitIdentifier
-
createRangeErrorInvalidTimeValue
-
createTypeErrorInvalidTimeValue
-
createTypeErrorMapExpected
-
createTypeErrorSetExpected
-
createTypeErrorOutOfBoundsTypedArray
-
createTypeErrorDetachedBuffer
-
createTypeErrorInvalidDetachKey
-
createTypeErrorReadOnlyBuffer
-
createTypeErrorArrayBufferExpected
-
createTypeErrorArrayBufferViewExpected
-
createTypeErrorCallableExpected
-
createTypeErrorGeneratorObjectExpected
-
createTypeErrorAsyncGeneratorObjectExpected
-
createTypeErrorNotADataView
-
createTypeErrorNotADate
-
createTypeErrorFinalizationRegistryExpected
-
createTypeErrorNotANumber
-
createTypeErrorNotAString
-
createTypeErrorNotARegExp
-
createTypeErrorGlobalObjectNotExtensible
public static JSException createTypeErrorGlobalObjectNotExtensible(com.oracle.truffle.api.nodes.Node originatingNode) -
createRangeErrorTooManyArguments
-
createRangeErrorBigIntMaxSizeExceeded
-
createRangeErrorStackOverflow
-
createRangeErrorStackOverflow
public static JSException createRangeErrorStackOverflow(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createRangeErrorInvalidStringLength
-
createRangeErrorInvalidStringLength
public static JSException createRangeErrorInvalidStringLength(com.oracle.truffle.api.nodes.Node originatingNode) -
createRangeErrorInvalidArrayLength
public static JSException createRangeErrorInvalidArrayLength(com.oracle.truffle.api.nodes.Node originatingNode) -
createRangeErrorInvalidArrayLength
-
createRangeErrorIndexNegative
public static JSException createRangeErrorIndexNegative(com.oracle.truffle.api.nodes.Node originatingNode) -
createRangeErrorIndexTooLarge
public static JSException createRangeErrorIndexTooLarge(com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorIndexTooLarge
-
createRangeErrorInvalidBufferSize
-
createRangeErrorInvalidBufferOffset
-
createRangeErrorInvalidTimeZone
-
unsupported
-
notImplemented
-
shouldNotReachHere
-
shouldNotReachHere
-
shouldNotReachHere
-
shouldNotReachHereUnexpectedValue
-
outOfMemoryError
-
createTypeErrorConfigurableExpected
-
createTypeErrorSameResultExpected
-
createTypeErrorYieldStarThrowMethodMissing
public static JSException createTypeErrorYieldStarThrowMethodMissing(com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotDeletePropertyOf
-
createTypeErrorCannotDeletePropertyOfSealedArray
-
createTypeErrorJSObjectExpected
-
createTypeErrorPrivateSymbolInProxy
-
createTypeErrorPrivateSymbolInProxy
public static JSException createTypeErrorPrivateSymbolInProxy(com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorTrapReturnedFalsish
-
createTypeErrorOwnKeysTrapMissingKey
-
createTypeErrorProxyRevoked
public static JSException createTypeErrorProxyRevoked(com.oracle.truffle.api.strings.TruffleString trap, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorProxyRevoked
-
createTypeErrorProxyTargetNotExtensible
-
createTypeErrorProxyGetInvariantViolated
public static JSException createTypeErrorProxyGetInvariantViolated(Object propertyKey, Object expectedValue, Object actualValue) -
createTypeErrorInteropException
public static JSException createTypeErrorInteropException(Object receiver, com.oracle.truffle.api.interop.InteropException cause, String message, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorInteropException
public static JSException createTypeErrorInteropException(Object receiver, com.oracle.truffle.api.interop.InteropException cause, String message, Object messageDetails, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorUnboxException
public static JSException createTypeErrorUnboxException(Object receiver, com.oracle.truffle.api.interop.InteropException cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorUnsupportedInteropType
-
createTypeErrorNotATruffleObject
-
createTypeErrorInvalidIdentifier
-
createTypeErrorClassNotFound
-
createNotAFileError
-
createErrorFromException
-
createError
-
createICU4JDataError
-
createEvalDisabled
-
createTypeErrorIteratorResultNotObject
public static JSException createTypeErrorIteratorResultNotObject(Object value, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotGetPrivateMember
public static JSException createTypeErrorCannotGetPrivateMember(boolean fieldAccess, com.oracle.truffle.api.strings.TruffleString name, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotSetPrivateMember
public static JSException createTypeErrorCannotSetPrivateMember(Object name, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorCannotAddPrivateMember
public static JSException createTypeErrorCannotAddPrivateMember(String name, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeError
public static JSException createTypeError(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createRangeError
public static JSException createRangeError(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createRangeError
public static JSException createRangeError(String message, Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createCompileError
public static JSException createCompileError(String message, com.oracle.truffle.api.nodes.Node originatingNode) -
createCompileError
public static JSException createCompileError(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createLinkError
-
createLinkError
public static JSException createLinkError(String message, com.oracle.truffle.api.nodes.Node originatingNode) -
createLinkError
public static JSException createLinkError(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createRuntimeError
-
createRuntimeError
public static JSException createRuntimeError(Throwable cause, com.oracle.truffle.api.nodes.Node originatingNode) -
createTypeErrorWrongDecoratorReturn
public static JSException createTypeErrorWrongDecoratorReturn(com.oracle.truffle.api.nodes.Node originatingNode)
-