org.obligate.annotations.contract
Class PreconditionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.obligate.annotations.contract.ContractViolationException
org.obligate.annotations.contract.PreconditionException
- All Implemented Interfaces:
- java.io.Serializable
public class PreconditionException
- extends ContractViolationException
Precondition violation exception
- Since:
- 16-Jan-2006
- Author:
- Steve Jones
- See Also:
- Serialized Form
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 |
PreconditionException
public PreconditionException()
PreconditionException
public PreconditionException(java.lang.String msg)
- Parameters:
msg
- Display message
PreconditionException
public PreconditionException(java.lang.String msg,
java.lang.Throwable t)
- Parameters:
msg
- Display messaget
- The root cause of this exception
PreconditionException
public PreconditionException(java.lang.Throwable t)
- Parameters:
t
- The root cause of this exception