JML

org.jmlspecs.jmlrac.runtime
Class JMLNormalPostconditionError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byorg.jmlspecs.jmlrac.runtime.JMLAssertionError
              extended byorg.jmlspecs.jmlrac.runtime.JMLPostconditionError
                  extended byorg.jmlspecs.jmlrac.runtime.JMLNormalPostconditionError
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JMLExitNormalPostconditionError, JMLInternalNormalPostconditionError

public class JMLNormalPostconditionError
extends JMLPostconditionError

A JML error class to notify normal postcondition violations.

Version:
$Revision: 1.3 $
Author:
Yoonsik Cheon

Class Specifications

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);

Model Field Summary
 
Model fields inherited from class java.lang.Throwable
_cause, _message, _stackTrace, causeSet
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Field Summary
 
Fields inherited from class org.jmlspecs.jmlrac.runtime.JMLAssertionError
className, locations, methodName
 
Fields inherited from class java.lang.Error
 
Constructor Summary
JMLNormalPostconditionError(String message, String className, String methodName, Set locations)
          Constructs a new instance.
JMLNormalPostconditionError(String className, String methodName, Set locations)
          Constructs a new instance.
JMLNormalPostconditionError(Throwable cause)
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Throwable
initMessage, standardThrowable, standardThrowable, standardThrowable, standardThrowable
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
 
Methods inherited from class org.jmlspecs.jmlrac.runtime.JMLAssertionError
className, getMessage, locations, message, methodName
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

JMLNormalPostconditionError

public JMLNormalPostconditionError(String className,
                                   String methodName,
                                   Set locations)
Constructs a new instance.


JMLNormalPostconditionError

public JMLNormalPostconditionError(String message,
                                   String className,
                                   String methodName,
                                   Set locations)
Constructs a new instance.


JMLNormalPostconditionError

public JMLNormalPostconditionError(Throwable cause)

JML

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.