com.caucho.hessian.io
Class HessianProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.caucho.hessian.io.HessianProtocolException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BurlapProtocolException, HessianFieldException

public class HessianProtocolException
extends java.io.IOException

Exception for faults when the fault doesn't return a java exception. This exception is required for MicroHessianInput.

See Also:
Serialized Form

Constructor Summary
HessianProtocolException()
          Zero-arg constructor.
HessianProtocolException(java.lang.String message)
          Create the exception.
HessianProtocolException(java.lang.String message, java.lang.Throwable rootCause)
          Create the exception.
HessianProtocolException(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

HessianProtocolException

public HessianProtocolException()
Zero-arg constructor.


HessianProtocolException

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


HessianProtocolException

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


HessianProtocolException

public HessianProtocolException(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