Class AssertException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AssertException
    extends java.io.IOException
    IOException which results from the failure of a user-level assertion.
    Since:
    2 May 2006
    Author:
    Mark Taylor
    See Also:
    AssertFilter, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AssertException​(java.lang.String msg)
      Constructs an AssertException with a message.
      AssertException​(java.lang.String msg, java.lang.Throwable e)
      Constructs an AssertException with a message and a cause.
    • 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 msg)
        Constructs an AssertException with a message.
        Parameters:
        msg - message
      • AssertException

        public AssertException​(java.lang.String msg,
                               java.lang.Throwable e)
        Constructs an AssertException with a message and a cause.
        Parameters:
        msg - message
        e - cause