类 AssertionFailedException

  • 所有已实现的接口:
    java.io.Serializable

    public class AssertionFailedException
    extends java.lang.RuntimeException
    Thrown when the application is in an inconsistent state. Indicates a problem with the code.
    版本:
    1.7
    另请参阅:
    序列化表格
    • 方法概要

      • 从类继承的方法 java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 构造器详细资料

      • AssertionFailedException

        public AssertionFailedException()
        Creates an AssertionFailedException.
      • AssertionFailedException

        public AssertionFailedException​(java.lang.String message)
        Creates a AssertionFailedException with the given detail message.
        参数:
        message - a description of the assertion