org.jmlspecs.jmlrac.runtime
Class JMLPreconditionError
java.lang.Object
java.lang.Throwable
java.lang.Error
org.jmlspecs.jmlrac.runtime.JMLAssertionError
org.jmlspecs.jmlrac.runtime.JMLPreconditionError
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- JMLEntryPreconditionError, JMLInternalPreconditionError
- public abstract class JMLPreconditionError
- extends JMLAssertionError
A JML exception class for notifying precondition violations.
The runtime assertion checker makes a distinction among precondition
violations: internal precondition violations and
entry precondition violations.
An internal precondition violation refers to a precondition violation
that arises inside the execution of the method, say M, that
we are interested in. An entry precondition violation refers to a
violation concerned with the method M's precondition.
- Version:
- $Revision: 1.4 $
- Author:
- Yoonsik Cheon
- See Also:
JMLInternalPreconditionError,
JMLEntryPreconditionError
| Fields inherited from class java.lang.Error |
|
| Fields inherited from class java.lang.Throwable |
|
JMLPreconditionError
protected JMLPreconditionError(String className,
String methodName,
Set locations)
- Constructs a new instance.
JMLPreconditionError
protected JMLPreconditionError(String message,
String className,
String methodName,
Set locations)
- Constructs a new instance.
JMLPreconditionError
protected JMLPreconditionError(Throwable cause)
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.