Class AssertException

All Implemented Interfaces:
Serializable

public class AssertException extends RuntimeException
AssertException is used in situations that the programmer believes can't happen. If it does, then there is a programming error of some kind.
See Also:
  • Constructor Details

    • AssertException

      public AssertException()
      Create a new AssertException with no message.
    • AssertException

      public AssertException(String msg)
      Create a new AssertException with the given message.
      Parameters:
      msg - the exception message.
    • AssertException

      public AssertException(Throwable t)
      Create a new AssertException using another exception (Throwable) has occurred. The message for this exception will be derived from the Throwable.
      Parameters:
      t - the Throwable which caused this exception to be generated.
    • AssertException

      public AssertException(String message, Throwable throwable)
      Create a new AssertException with the given message.
      Parameters:
      message - the exception message.
      throwable - the Throwable which caused this exception to be generated.