public class DefaultExceptionListener extends AbstractScriptExceptionListener
logger, stateSTATE_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, setScriptLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresetWrapperOnDisposepublic 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 ThrowableErrorTypepublic void notifiedFirst(ScriptRuntimeException exception, char errorType, java.lang.String extension)
exception - the ScriptExceptionerrorType - the error typeextension - the language extensionErrorTypeCopyright © 2019-2025 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence