com.caucho.hessian.client
Class HessianRuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.caucho.hessian.client.HessianRuntimeException
All Implemented Interfaces:
java.io.Serializable

public class HessianRuntimeException
extends java.lang.RuntimeException

Wrapper for protocol exceptions thrown in the proxy.

See Also:
Serialized Form

Field Summary
private  java.lang.Throwable rootCause
           
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
HessianRuntimeException()
          Zero-arg constructor.
HessianRuntimeException(java.lang.String message)
          Create the exception.
HessianRuntimeException(java.lang.String message, java.lang.Throwable rootCause)
          Create the exception.
HessianRuntimeException(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.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rootCause

private java.lang.Throwable rootCause
Constructor Detail

HessianRuntimeException

public HessianRuntimeException()
Zero-arg constructor.


HessianRuntimeException

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


HessianRuntimeException

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


HessianRuntimeException

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

Method Detail

getMessage

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


getRootCause

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


printStackTrace

public void printStackTrace()
Prints the stack trace.


printStackTrace

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


printStackTrace

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