public class DefaultExceptionListener extends AbstractScriptExceptionListener
logger, state
STATE_ABORTED, STATE_ERROR, STATE_OK
Constructor and Description |
---|
DefaultExceptionListener() |
Modifier and Type | Method and Description |
---|---|
void |
aborted(java.lang.String message)
Fired when an abort is encountered.
|
void |
notified(java.lang.String message,
char errorType,
java.lang.Throwable th)
Fired when any exception is encountered.
|
void |
notifiedFirst(ScriptRuntimeException exception,
char errorType,
java.lang.String extension)
Fired when the first exception is encountered while executing a script.
|
getScriptLogger, getScriptState, resetState, setScriptLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resetWrapperOnDispose
public void aborted(java.lang.String message)
message
- the abort messagepublic void notified(java.lang.String message, char errorType, java.lang.Throwable th)
message
- the messageerrorType
- the error typeth
- the ThrowableErrorType
public void notifiedFirst(ScriptRuntimeException exception, char errorType, java.lang.String extension)
exception
- the ScriptExceptionerrorType
- the error typeextension
- the language extensionErrorType
Copyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence