| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception com.sun.jbi.ui.common.JBIRemoteException com.sun.esb.management.common.ManagementRemoteException
ManagementRemoteException | public class ManagementRemoteException extends JBIRemoteException 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 |
serialVersionUID | final static long serialVersionUID(Code) | | |
ManagementRemoteException | public ManagementRemoteException(String message)(Code) | | Parameters: message - |
ManagementRemoteException | public ManagementRemoteException(Throwable cause)(Code) | | Parameters: cause - |
ManagementRemoteException | public ManagementRemoteException(String message, Throwable cause)(Code) | | Parameters: message - Parameters: cause - |
ManagementRemoteException | public ManagementRemoteException(JBIRemoteException jbiRemoteException)(Code) | | Parameters: jbiRemoteException - |
extractJBIManagementMessage | public JBIManagementMessage extractJBIManagementMessage()(Code) | | retrieves the exception message and try to construct the jbi mgmt message
JBIManagementMessage object |
filterJmxExceptions | public static ManagementRemoteException filterJmxExceptions(Exception jmxEx)(Code) | | filters the jmx exception and wraps the root cause user exception in 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 |
getJBIRemoteException | public JBIRemoteException getJBIRemoteException()(Code) | | Return an instance of JBIRemoteException
JBIRemoteException |
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 |
|
|
|