Class ExpectedException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ExpectedRestException

    public class ExpectedException
    extends java.lang.RuntimeException
    Expected exception
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isExpectedException​(java.lang.Throwable throwable)  
      • 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

      • ExpectedException

        public ExpectedException()
      • ExpectedException

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

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

        public ExpectedException​(java.lang.Throwable cause)
    • Method Detail

      • isExpectedException

        public boolean isExpectedException​(java.lang.Throwable throwable)