|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jcoderz.commons.BaseRuntimeException
org.jcoderz.commons.AssertionFailedException
public class AssertionFailedException
Assertion failed. A condition is tested
and found to be false. Message: {MESSAGE}.
This exception encapsulates the log message
RteLogMessage.ASSERTION_FAILED.
| Constructor Summary | |
|---|---|
protected |
AssertionFailedException(RteLogMessage messageInfo)
Constructor getting an log message info. |
protected |
AssertionFailedException(RteLogMessage messageInfo,
Throwable cause)
Constructor getting an log message info and a root exception. |
|
AssertionFailedException(String message)
Constructs a assertion failed exception with a cause. |
|
AssertionFailedException(String message,
Throwable cause)
Constructs a assertion failed exception with a cause. |
| Method Summary | |
|---|---|
String |
valueOfMessage()
Returns the value of the parameter message. |
| Methods inherited from class org.jcoderz.commons.BaseRuntimeException |
|---|
addParameter, getCause, getEventTime, getInstanceId, getLogMessageInfo, getMessage, getNodeId, getParameter, getParameterNames, getSourceClass, getSourceMethod, getThreadId, getThreadName, getTrackingNumber, initCause, log, logCreation, toDetailedString, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssertionFailedException(String message,
Throwable cause)
message - The message used in the message.cause - the cause of this exception.public AssertionFailedException(String message)
message - The message used in the message.protected AssertionFailedException(RteLogMessage messageInfo)
messageInfo - the log message info for this exception
protected AssertionFailedException(RteLogMessage messageInfo,
Throwable cause)
messageInfo - the log message info for this exceptioncause - the problem that caused this exception to be thrown| Method Detail |
|---|
public String valueOfMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||