|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
com.caucho.ejb.burlap.BurlapProtocolException
public class BurlapProtocolException
Wraps the actual exception with a burlap protocol exception
| Field Summary |
|---|
| Fields inherited from class java.rmi.RemoteException |
|---|
detail |
| Constructor Summary | |
|---|---|
BurlapProtocolException()
Null constructor for beans |
|
BurlapProtocolException(java.lang.String msg)
Create a basic BurlapProtocolException with a message. |
|
BurlapProtocolException(java.lang.Throwable rootCause)
Create a BurlapProtocolException wrapping a root exception. |
|
| Method Summary | |
|---|---|
static BurlapProtocolException |
create(java.lang.Throwable rootCause)
Creates an BurlapProtocol from a throwable. |
static java.rmi.RemoteException |
createRemote(java.lang.Throwable rootCause)
Creates a runtime from a throwable. |
java.lang.String |
getMessage()
Returns the appropriate exception message. |
java.lang.Throwable |
getRootCause()
Returns the root exception if it exists. |
void |
printStackTrace()
Prints the stack trace, preferring the root cause if it exists. |
void |
printStackTrace(java.io.PrintStream os)
Prints the stack trace, preferring the root cause if it exists. |
void |
printStackTrace(java.io.PrintWriter os)
Prints the stack trace, preferring the root cause if it exists. |
java.lang.String |
toString()
Print the exception as a string. |
| Methods inherited from class java.rmi.RemoteException |
|---|
getCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BurlapProtocolException()
public BurlapProtocolException(java.lang.String msg)
msg - the exception message.public BurlapProtocolException(java.lang.Throwable rootCause)
rootCause - the underlying wrapped exception.| Method Detail |
|---|
public static BurlapProtocolException create(java.lang.Throwable rootCause)
public static java.rmi.RemoteException createRemote(java.lang.Throwable rootCause)
public java.lang.Throwable getRootCause()
getRootCause in interface ExceptionWrapperpublic java.lang.String getMessage()
getMessage in class java.rmi.RemoteExceptionpublic void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream os)
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintWriter os)
printStackTrace in class java.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||