Class MockEjbSystemException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.mockejb.MockEjbSystemException
All Implemented Interfaces:

public class MockEjbSystemException
extends java.lang.RuntimeException

Indicates system error in MockEJB framework. This is not the same with EJB system exception which can be any RuntimeException. MockEjbSystemException signifies the failure in one of the MockEJB classes. Support exception chaining for 1.3 users just in case.

Alexander Ananiev
See Also:
Serialized Form

Constructor Summary
MockEjbSystemException(java.lang.String message)
MockEjbSystemException(java.lang.String message, java.lang.Throwable cause)
          Creates a new instance of MockEjbSystemException.
MockEjbSystemException(java.lang.Throwable cause)
Method Summary
 java.lang.Throwable getCause()
          Returns the cause of this throwable or null if the cause is nonexistent or unknown.
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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


public MockEjbSystemException(java.lang.String message,
                              java.lang.Throwable cause)
Creates a new instance of MockEjbSystemException. Appends the error stack of the cause to the message to remain 1.3 compliant.

message - error message
cause - cause of the exception


public MockEjbSystemException(java.lang.String message)


public MockEjbSystemException(java.lang.Throwable cause)
Method Detail


public java.lang.Throwable getCause()
Returns the cause of this throwable or null if the cause is nonexistent or unknown.

the cause of this throwable or null if the cause is nonexistent or unknown