| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception com.sun.jbi.ui.common.JBIRemoteException
All known Subclasses: com.sun.esb.management.common.ManagementRemoteException,
JBIRemoteException | public class JBIRemoteException extends Exception implements Serializable(Code) | | A Remote Exception class that saves the cause exception stack trace in a
buffer for serialization. By throwing this exception on jmx server side on
mbean operations and attributes, we don't have to include the cause exception
classes on the client side. This class also allows the server side code to
add error code, so that the remote client can get the error code and display
the message from its local bundle.
author: graj |
mCauseMessageTrace | protected String[] mCauseMessageTrace(Code) | | aCuase Message trace
|
serialVersionUID | final static long serialVersionUID(Code) | | Determines if a de-serialized file is compatible with this class.
1. Run serialver -show from the command line
2. Point the tool to the class file including the package,
for example:
com.sun.jbi.ui.common.JBIRemoteException - without the .class The
serialver docs for Windows OS is at:
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/serialver.html and
Unix OS is at:
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/serialver.html
Maintainers must change this value if and only if the new version of this
class is not compatible with old versions. See Sun docs for details.
|
JBIRemoteException | public JBIRemoteException(String aMessage)(Code) | | Creates a new instance of JBIException with an exception message.
Parameters: aMessage - String describing this exception. |
JBIRemoteException | public JBIRemoteException(Throwable aCause)(Code) | | Creates a new instance of JBIException with the specified cause.
Parameters: aCause - Throwable which represents an underlying problem (or null). |
JBIRemoteException | public JBIRemoteException(String aMessage, Throwable aCause)(Code) | | Creates a new instance of JBIException with the specified message and
cause.
Parameters: aMessage - String describing this exception. Parameters: aCause - Throwable which represents an underlying problem (or null). |
JBIRemoteException | public JBIRemoteException(JBIRemoteException exception)(Code) | | Creates a new instance of JBIException.
Parameters: exception - |
extractJBIManagementMessage | public JBIManagementMessage extractJBIManagementMessage()(Code) | | retrieves the exception message and try to construct the jbi mgmt message
JBIManagementMessage object |
filterJmxExceptions | public static JBIRemoteException filterJmxExceptions(Exception jmxEx)(Code) | | filters the jmx exception and wraps the root cause user exception int the
JBIRemoteException
Parameters: jmxEx - exception remote exception |
getCauseMessageTrace | public String[] getCauseMessageTrace()(Code) | | gets the cuase trace in a string buffer
trace in a string buffer |
getCauseStackTrace | public StringBuffer getCauseStackTrace()(Code) | | gets the cuase trace in a string buffer
trace in a string buffer |
getMessage | public String getMessage()(Code) | | Returns the detail message string of this throwable.
the detail message string of this Throwable instance(which may be null). + the cause messages |
initCauseTrace | public void initCauseTrace(Throwable aCause)(Code) | | initializes the stacktrace and messages from cause
Parameters: aCause - a cause |
printStackTrace | public void printStackTrace(PrintWriter s)(Code) | | override method
Parameters: s - writer |
printStackTrace | public void printStackTrace(PrintStream s)(Code) | | override method
Parameters: s - stream |
|
|
|