Instance method getWrappedExceptionType returns the int mapping of the type of the wrappedException object.

The following sections show the declaration and usage of the constructors and method.

Backward Compatibility

JavaScript 1.1 through 1.3.JSException had three public constructors which optionally took a string argument, specifying the detail message or other information for the exception. The getWrappedException method was not available.

JSException

Constructors, deprecated in JavaScript 1.4. Constructs a JSException with an optional detail message.

DescriptiongetWrappedException() returns an object that represents the value that the JavaScript actually threw. JavaScript can throw any type of value. Use getWrappedException() to determine what kind of value the Object return type represents.

getWrappedExceptionType

Instance method getWrappedExceptionType.

Declarationpublic int getWrappedExceptionType()

DescriptiongetWrappedExceptionType() returns an int that matches one of the following static ints declared by the JSException class: