com.caucho.burlap.client
Class BurlapRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.caucho.burlap.client.BurlapRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class BurlapRuntimeException
extends java.lang.RuntimeException

Wrapper for protocol exceptions thrown in the proxy.

See Also:
Serialized Form

Constructor Summary
BurlapRuntimeException()
          Zero-arg constructor.
BurlapRuntimeException(java.lang.String message)
          Create the exception.
BurlapRuntimeException(java.lang.String message, java.lang.Throwable rootCause)
          Create the exception.
BurlapRuntimeException(java.lang.Throwable rootCause)
          Create the exception.
 
Method Summary
 java.lang.String getMessage()
          Returns the message.
 java.lang.Throwable getRootCause()
          Returns the underlying cause.
 void printStackTrace()
          Prints the stack trace.
 void printStackTrace(java.io.PrintStream out)
          Prints the stack trace.
 void printStackTrace(java.io.PrintWriter out)
          Prints the stack trace.
 java.lang.String toString()
          Prints the exception as a string.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BurlapRuntimeException

public BurlapRuntimeException()
Zero-arg constructor.


BurlapRuntimeException

public BurlapRuntimeException(java.lang.String message)
Create the exception.


BurlapRuntimeException

public BurlapRuntimeException(java.lang.String message,
                              java.lang.Throwable rootCause)
Create the exception.


BurlapRuntimeException

public BurlapRuntimeException(java.lang.Throwable rootCause)
Create the exception.

Method Detail

getMessage

public java.lang.String getMessage()
Returns the message.

Overrides:
getMessage in class java.lang.Throwable

getRootCause

public java.lang.Throwable getRootCause()
Returns the underlying cause.


printStackTrace

public void printStackTrace()
Prints the stack trace.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintWriter out)
Prints the stack trace.

Overrides:
printStackTrace in class java.lang.Throwable

printStackTrace

public void printStackTrace(java.io.PrintStream out)
Prints the stack trace.

Overrides:
printStackTrace in class java.lang.Throwable

toString

public java.lang.String toString()
Prints the exception as a string.

Overrides:
toString in class java.lang.Throwable