While creating an instance of this class, if the corresponding exception is an instance of TaskExecutionException, then the associated task identifier will be stored in the exception view.
An instance of this exception view is usually constructed during task execution, to be able to print a script trace after the execution has finished. It will probably be converted to a ScriptPositionedExceptionView, and then it will be printable to user-facing output streams. Although this may be an usual use-case for this class, it may be used in other ways as the user sees fit.
Creates a new instance for the given exception and task identifier.
|public static TaskIdentifierExceptionView|
Creates a new exception view based on the argument exception.
Gets the task identifier associated with this exception view.
The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.
nullif there's none.