Class AssertionException

  • All Implemented Interfaces:
    Serializable

    public class AssertionException
    extends RuntimeException
    An AssertionException is thrown when an assertion fails.
    Version:
    1.00, 04/21/99
    Author:
    Cameron Purdy
    See Also:
    Serialized Form
    • Constructor Detail

      • AssertionException

        public AssertionException()
        Constructs a AssertionException with no detail message. A detail message is a String that describes this particular exception.
      • AssertionException

        public AssertionException​(String s)
        Constructs a AssertionException with the specified detail message. A detail message is a String that describes this particular exception.
        Parameters:
        s - the String that contains a detailed message