Class InvalidSpecException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidSpecException
    extends java.lang.RuntimeException
    Indicates that a Spec has done something it is not supposed to do. It is up to the Spec author to correct the problem.
    Author:
    Peter Niederwieser
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      InvalidSpecException withArgs​(java.lang.Object... args)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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

      • InvalidSpecException

        public InvalidSpecException​(java.lang.String msg)
      • InvalidSpecException

        public InvalidSpecException​(java.lang.String msg,
                                    java.lang.Throwable throwable)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable