| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception javax.naming.NamingException com.caucho.naming.NamingExceptionWrapper
NamingExceptionWrapper | public class NamingExceptionWrapper extends NamingException implements ExceptionWrapper(Code) | | Wraps the actual exception with a Naming exception
|
NamingExceptionWrapper | public NamingExceptionWrapper()(Code) | | Null constructor for beans
|
NamingExceptionWrapper | public NamingExceptionWrapper(String msg)(Code) | | Create a basic NamingExceptionWrapper with a message.
Parameters: msg - the exception message. |
NamingExceptionWrapper | public NamingExceptionWrapper(Throwable rootCause)(Code) | | Create a NamingExceptionWrapper wrapping a root exception.
Parameters: rootCause - the underlying wrapped exception. |
getCause | public Throwable getCause()(Code) | | Returns the root exception if it exists.
the underlying wrapped exception. |
getMessage | public String getMessage()(Code) | | Returns the appropriate exception message.
|
getRootCause | public Throwable getRootCause()(Code) | | Returns the root exception if it exists.
the underlying wrapped exception. |
printStackTrace | public void printStackTrace()(Code) | | Prints the stack trace, preferring the root cause if it exists.
|
printStackTrace | public void printStackTrace(PrintStream os)(Code) | | Prints the stack trace, preferring the root cause if it exists.
|
printStackTrace | public void printStackTrace(PrintWriter os)(Code) | | Prints the stack trace, preferring the root cause if it exists.
|
toString | public String toString()(Code) | | Print the exception as a string.
|
|
|
|