Class MockException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.helger.base.mock.exception.MockException
All Implemented Interfaces:
IMockException, Serializable

public class MockException extends Exception implements IMockException
Non-runtime exception for test cases.
Author:
Philip Helger
See Also:
  • Constructor Details

    • MockException

      public MockException()
      Default constructor.
    • MockException

      public MockException(String s)
      Constructor with a message.
      Parameters:
      s - The detail message. May be null.
    • MockException

      public MockException(Throwable t)
      Constructor with a cause.
      Parameters:
      t - The cause. May be null.
    • MockException

      public MockException(String s, Throwable t)
      Constructor with a message and a cause.
      Parameters:
      s - The detail message. May be null.
      t - The cause. May be null.