Class AssertionFailedError

  • All Implemented Interfaces:
    java.io.Serializable

    public class AssertionFailedError
    extends java.lang.RuntimeException
    Exception dispatched when an assertion fails.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AssertionFailedError()
      Constructs an empty exception.
      AssertionFailedError​(java.lang.String arg0)
      Constructs an exception with the given message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AssertionFailedError

        public AssertionFailedError()
        Constructs an empty exception.
      • AssertionFailedError

        public AssertionFailedError​(java.lang.String arg0)
        Constructs an exception with the given message.
        Parameters:
        arg0 - The error message.