com.caucho.services.name
Class NameServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by com.caucho.services.name.NameServiceException
All Implemented Interfaces:
java.io.Serializable

public class NameServiceException
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
NameServiceException()
          Zero-arg constructor.
NameServiceException(java.lang.String name)
          Create the exception.
NameServiceException(java.lang.String name, java.lang.Throwable rootCause)
          Create the exception.
NameServiceException(java.lang.Throwable rootCause)
          Create the exception.
 
Method Summary
 java.lang.Throwable getRootCause()
          Returns the underlying cause.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

NameServiceException

public NameServiceException()
Zero-arg constructor.


NameServiceException

public NameServiceException(java.lang.String name)
Create the exception.


NameServiceException

public NameServiceException(java.lang.String name,
                            java.lang.Throwable rootCause)
Create the exception.


NameServiceException

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

Method Detail

getRootCause

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