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.

Version:
$Revision: 1.2 $
Author:
Marko van Dooren
See Also:
Serialized Form

Field Summary
static java.lang.String CVS_REVISION
           
 
Constructor Summary
RevisionError()
          public behavior

post getMessage() == null;
Initialize a new RevisionError with a null message
RevisionError(java.lang.String msg)
          public behavior

post getMessage() == 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()
public behavior

post getMessage() == null;
Initialize a new RevisionError with a null message

RevisionError

public RevisionError(java.lang.String msg)
public behavior

post getMessage() == msg;
Initialize a new RevisionError with the given message.
Parameters:
msg - The message of the RevisionError.