Class Assert.AssertException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Assert

    public static class Assert.AssertException
    extends java.lang.RuntimeException
    The exception thrown when the condition is not met.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AssertException​(java.lang.String message)
      Creates a new AssertException.
    • 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

      • AssertException

        public AssertException​(java.lang.String message)
        Creates a new AssertException.
        Parameters:
        message - The message describing the reason why this exception is thrown