sdsu.test
Class AssertException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--sdsu.test.AssertException

public class AssertException
extends java.lang.RuntimeException

Used to indicate that an assertion has been made and determined to be false. Is subclass of RuntimeException to allow the programer to mimic the funtionality of ASSERT in C/C++.

Version:
1.0 30 December 1997
Author:
Roger Whitney (whitney@cs.sdsu.edu)
See Also:
Serialized Form

Constructor Summary
AssertException()
          Constructs an AssertException with no detail message.
AssertException(java.lang.String message)
          Constructs an AssertException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssertException

public AssertException()
Constructs an AssertException with no detail message.

AssertException

public AssertException(java.lang.String message)
Constructs an AssertException with the specified detail message. A detail message is a String that describes this particular exception.
Parameters:
s - the detail message