com.caucho.hessian.client
Class HessianRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.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

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.Throwable getCause()
          Returns the underlying cause.
 java.lang.Throwable getRootCause()
          Returns the underlying cause.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

getRootCause

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


getCause

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

Overrides:
getCause in class java.lang.Throwable