com.caucho.hessian.client

Class HessianRuntimeException


public class HessianRuntimeException
extends RuntimeException

Wrapper for protocol exceptions thrown in the proxy.

Field Summary

private Throwable
rootCause

Constructor Summary

HessianRuntimeException()
Zero-arg constructor.
HessianRuntimeException(String message)
Create the exception.
HessianRuntimeException(String message, Throwable rootCause)
Create the exception.
HessianRuntimeException(Throwable rootCause)
Create the exception.

Method Summary

String
getMessage()
Returns the message.
Throwable
getRootCause()
Returns the underlying cause.
void
printStackTrace()
Prints the stack trace.
void
printStackTrace(PrintStream out)
Prints the stack trace.
void
printStackTrace(PrintWriter out)
Prints the stack trace.

Field Details

rootCause

private Throwable rootCause

Constructor Details

HessianRuntimeException

public HessianRuntimeException()
Zero-arg constructor.

HessianRuntimeException

public HessianRuntimeException(String message)
Create the exception.

HessianRuntimeException

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

HessianRuntimeException

public HessianRuntimeException(Throwable rootCause)
Create the exception.

Method Details

getMessage

public String getMessage()
Returns the message.

getRootCause

public Throwable getRootCause()
Returns the underlying cause.

printStackTrace

public void printStackTrace()
Prints the stack trace.

printStackTrace

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

printStackTrace

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