org.mockejb
Class MockEjbSystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mockejb.MockEjbSystemException
- All Implemented Interfaces:
- java.io.Serializable
- 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.
- Author:
- Alexander Ananiev
- See Also:
- Serialized Form
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 |
MockEjbSystemException
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.
- Parameters:
message
- error messagecause
- cause of the exception
MockEjbSystemException
public MockEjbSystemException(java.lang.String message)
MockEjbSystemException
public MockEjbSystemException(java.lang.Throwable cause)
getCause
public java.lang.Throwable getCause()
- Returns the cause of this throwable or null if the cause is nonexistent
or unknown.
- Returns:
- the cause of this throwable or null if the cause is
nonexistent or unknown