|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--org.acmsl.contractchecker.ContractViolation
Represents violation of declared contracts.
Constructor Summary | |
ContractViolation(java.lang.String message)
Creates a ContractCheckerException to model an abnormal situation described by given message. |
|
ContractViolation(java.lang.String message,
java.lang.Throwable cause)
Creates a ContractCheckerException to model an abnormal situation described by given message, wrapping additional exception. |
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 |
public ContractViolation(java.lang.String message)
message
- the message.public ContractViolation(java.lang.String message, java.lang.Throwable cause)
message
- the message.cause
- the detailed cause.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |