public class TaurusExceptionProcessor
extends java.lang.Object
IExceptionhandler. A default exception handler is
registered by the AWM UI plug-in.| Constructor and Description |
|---|
TaurusExceptionProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static IExceptionhandler |
getHandler() |
static ExceptionAction |
processException(java.lang.Throwable pException,
java.lang.String pMessage)
Calls the registered
IExceptionhandler to handle the exception. |
static ExceptionAction |
processException(java.lang.Throwable pException,
java.lang.String pMessage,
ExceptionAction[] pActions)
Calls the registered
IExceptionhandler to handle the exception. |
static void |
setHandler(IExceptionhandler pHandler) |
public static ExceptionAction processException(java.lang.Throwable pException, java.lang.String pMessage, ExceptionAction[] pActions)
IExceptionhandler to handle the exception.
This is usually logging it and showing it in an error dialog.pException - the exceptionpMessage - the message to be logged shown in the error dialogpActions - the possible user actions (can be null, default
is ExceptionAction.CANCEL)processException(Throwable, String)public static ExceptionAction processException(java.lang.Throwable pException, java.lang.String pMessage)
IExceptionhandler to handle the exception.
This is usually logging it and showing it in an error dialog.pException - the exceptionpMessage - the message to be logged shown in the error dialogExceptionAction.CANCEL)processException(Throwable, String, ExceptionAction[])public static IExceptionhandler getHandler()
public static void setHandler(IExceptionhandler pHandler)
pHandler - the handler to setCopyright © 2015 Micro Focus GmbH. All rights reserved.