public class JBIRemoteException extends Exception implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
mCauseMessageTrace
aCuase Message trace
|
protected StringBuffer |
mCauseStackTrace
aCuase StackTrace
|
| Constructor and Description |
|---|
JBIRemoteException(JBIRemoteException exception)
Creates a new instance of JBIException.
|
JBIRemoteException(String aMessage)
Creates a new instance of JBIException with an exception message.
|
JBIRemoteException(String aMessage,
Throwable aCause)
Creates a new instance of JBIException with the specified message and
cause.
|
JBIRemoteException(Throwable aCause)
Creates a new instance of JBIException with the specified cause.
|
| Modifier and Type | Method and Description |
|---|---|
JBIManagementMessage |
extractJBIManagementMessage()
retrieves the exception message and try to construct the jbi mgmt message
|
static JBIRemoteException |
filterJmxExceptions(Exception jmxEx)
filters the jmx exception and wraps the root cause user exception int the
JBIRemoteException
|
String[] |
getCauseMessageTrace()
gets the cuase trace in a string buffer
|
StringBuffer |
getCauseStackTrace()
gets the cuase trace in a string buffer
|
String |
getMessage()
Returns the detail message string of this throwable.
|
void |
initCauseTrace(Throwable aCause)
initializes the stacktrace and messages from cause
|
void |
printStackTrace(PrintStream s)
override method
|
void |
printStackTrace(PrintWriter s)
override method
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringprotected StringBuffer mCauseStackTrace
protected String[] mCauseMessageTrace
public JBIRemoteException(String aMessage)
aMessage - String describing this exception.public JBIRemoteException(Throwable aCause)
aCause - Throwable which represents an underlying problem (or null).public JBIRemoteException(String aMessage, Throwable aCause)
aMessage - String describing this exception.aCause - Throwable which represents an underlying problem (or null).public JBIRemoteException(JBIRemoteException exception)
exception - public void initCauseTrace(Throwable aCause)
aCause - a causepublic String getMessage()
getMessage in class Throwablepublic String[] getCauseMessageTrace()
public StringBuffer getCauseStackTrace()
public void printStackTrace(PrintWriter s)
printStackTrace in class Throwables - writerpublic void printStackTrace(PrintStream s)
printStackTrace in class Throwables - streampublic JBIManagementMessage extractJBIManagementMessage()
public static JBIRemoteException filterJmxExceptions(Exception jmxEx)
jmxEx - exceptionCopyright © 2011-2016 OpenESB Community. All Rights Reserved.