Class AssertionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--AssertionException

class AssertionException
extends java.lang.Error

Thrown when a condition asserted from an assert method of the Assert is not true.

See Also:
Assert, Serialized Form

Constructor Summary
AssertionException()
          Constructs a AssertionException with no detail message.
AssertionException(java.lang.String s)
          Constructs a ClassFormatError 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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssertionException

public AssertionException()
Constructs a AssertionException with no detail message.

AssertionException

public AssertionException(java.lang.String s)
Constructs a ClassFormatError with the specified detail message.
Parameters:
s - The detail message.