Class AssertionException

All Implemented Interfaces:
Serializable

public class AssertionException extends RuntimeException
Assertion exceptions are thrown when assertion code is invoked and fails to operate properly. They subclass Error, so they will not be caught by exception handlers. Instead, they will cause the VM to halt and print a stack trace.
Version:
$Revision$ $Date$
See Also:
  • Field Details

  • Constructor Details

    • AssertionException

      public AssertionException()
    • AssertionException

      public AssertionException(String mesg)
    • AssertionException

      public AssertionException(String mesg, Throwable cause)
    • AssertionException

      public AssertionException(String mesg, Throwable cause, boolean enableSuppression, boolean writableStackTrace)