All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sdsu.test.AssertException

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

public class AssertException
extends 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)

Constructor Index

 o AssertException()
Constructs an AssertException with no detail message.
 o AssertException(String)
Constructs an AssertException with the specified detail message.

Constructors

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

 o AssertException
 public AssertException(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

All Packages  Class Hierarchy  This Package  Previous  Next  Index