org.jmlspecs.jmlrac.runtime
Class JMLPostconditionError
java.lang.Object
java.lang.Throwable
java.lang.Error
org.jmlspecs.jmlrac.runtime.JMLAssertionError
org.jmlspecs.jmlrac.runtime.JMLPostconditionError
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- JMLExceptionalPostconditionError, JMLNormalPostconditionError
- public abstract class JMLPostconditionError
- extends JMLAssertionError
A JML error class to notify postcondition violations.
- Version:
- $Revision: 1.5 $
- Author:
- Yoonsik Cheon
Specifications inherited from class JMLAssertionError |
invariant this.className != null;
invariant this.locations != null&&( \forall java.lang.Object o; this.locations.contains(o); o instanceof java.lang.String); |
Specifications inherited from class Error |
initially java.lang.Error.serialVersionUID == 4980196508277280342; |
Specifications inherited from class Throwable |
public invariant \nonnullelements(this._stackTrace);
public represents causeSet <- this._cause != this; |
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this); |
Fields inherited from class java.lang.Error |
|
JMLPostconditionError
protected JMLPostconditionError(String className,
String methodName,
Set locations)
- Creates a new instance.
JMLPostconditionError
protected JMLPostconditionError(String message,
String className,
String methodName,
Set locations)
- Creates a new
JMLPreconditionError
instance.
JMLPostconditionError
protected JMLPostconditionError(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.