java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.simscomputing.SoftwareFaultException
com.simscomputing.util.BrokenContractException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- UnsatisfiedInvariantException, UnsatisfiedPostconditionException, UnsatisfiedPreconditionException
- public class BrokenContractException
- extends com.simscomputing.SoftwareFaultException
Thrown when a precondition, postcondition, or invariant is not satisfied.
This exception is a subclass of RuntimeException because
BrokenContractException should be thrown only in the event of a programmer
error.
- Version:
- $Revision: 1.1.1.1 $ $Date: 2000/02/21 21:22:36 $
| Nested classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Throwable |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
BrokenContractException
public BrokenContractException(java.lang.String message)
- Indicates that the design-by-contract paradigm was broken.