org.jutil.junit
Class RevisionError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--org.jutil.junit.RevisionError
All Implemented Interfaces:
java.io.Serializable

public class RevisionError
extends java.lang.Error

A class of errors indicating the use of a test class when the tested revision is no longer the latest revision of the tested class.


Field Summary
static java.lang.String CVS_REVISION
           
 
Constructor Summary
RevisionError()
          Initialize a new RevisionError with a null message
RevisionError(java.lang.String msg)
          Initialize a new RevisionError with the given message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CVS_REVISION

public static final java.lang.String CVS_REVISION
Constructor Detail

RevisionError

public RevisionError()
Initialize a new RevisionError with a null message

Specifications:
public behavior
ensures getMessage() == null;

RevisionError

public RevisionError(java.lang.String msg)
Initialize a new RevisionError with the given message.

Parameters:
msg - The message of the RevisionError.

Specifications:
public behavior
ensures getMessage() == msg;