com.caucho.ejb.protocol
Class ObjectExceptionWrapper

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.io.ObjectStreamException
                  extended by com.caucho.ejb.protocol.ObjectExceptionWrapper
All Implemented Interfaces:
java.io.Serializable

public class ObjectExceptionWrapper
extends java.io.ObjectStreamException

Wraps the actual exception with an EJB exception

See Also:
Serialized Form

Constructor Summary
ObjectExceptionWrapper(java.lang.String msg)
          Create a basic ObjectExceptionWrapper with a message.
ObjectExceptionWrapper(java.lang.Throwable rootCause)
          Create a ObjectExceptionWrapper wrapping a root exception.
 
Method Summary
 
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

ObjectExceptionWrapper

public ObjectExceptionWrapper(java.lang.String msg)
Create a basic ObjectExceptionWrapper with a message.

Parameters:
msg - the exception message.

ObjectExceptionWrapper

public ObjectExceptionWrapper(java.lang.Throwable rootCause)
Create a ObjectExceptionWrapper wrapping a root exception.

Parameters:
rootCause - the underlying wrapped exception.