Class PreconditionViolationException

  • All Implemented Interfaces:
    java.io.Serializable

    @API(status=STABLE,
         since="1.5")
    public class PreconditionViolationException
    extends PreconditionViolationException
    Thrown if a precondition is violated.
    Since:
    1.5
    See Also:
    Serialized Form
    • 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

      • PreconditionViolationException

        public PreconditionViolationException​(java.lang.String message)
      • PreconditionViolationException

        public PreconditionViolationException​(java.lang.String message,
                                              java.lang.Throwable cause)