com.caucho.ejb
Class CreateExceptionWrapper

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.ejb.CreateException
              extended by com.caucho.ejb.CreateExceptionWrapper
All Implemented Interfaces:
java.io.Serializable

public class CreateExceptionWrapper
extends CreateException

Wraps the actual exception with an EJB exception

See Also:
Serialized Form

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

CreateExceptionWrapper

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

Parameters:
msg - the exception message.

CreateExceptionWrapper

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

Parameters:
rootCause - the underlying wrapped exception.