com.caucho.hessian.io

Class HessianServiceException


public class HessianServiceException
extends Exception

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

Field Summary

private String
code
private Object
detail

Constructor Summary

HessianServiceException()
Zero-arg constructor.
HessianServiceException(String message, String code, Object detail)
Create the exception.

Method Summary

String
getCode()
Returns the code.
Object
getDetail()
Returns the detail.

Field Details

code

private String code

detail

private Object detail

Constructor Details

HessianServiceException

public HessianServiceException()
Zero-arg constructor.

HessianServiceException

public HessianServiceException(String message,
                               String code,
                               Object detail)
Create the exception.

Method Details

getCode

public String getCode()
Returns the code.

getDetail

public Object getDetail()
Returns the detail.