Class ExpectedExceptionsHolder


  • public class ExpectedExceptionsHolder
    extends java.lang.Object
    • Method Detail

      • isExpectedException

        public boolean isExpectedException​(java.lang.Throwable ite)
        Parameters:
        ite - The exception that was just thrown
        Returns:
        true if the exception that was just thrown is part of the expected exceptions
      • wrongException

        public java.lang.Throwable wrongException​(java.lang.Throwable ite)