Package com.helger.base.mock.exception
Class MockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.helger.base.mock.exception.MockException
- All Implemented Interfaces:
IMockException,Serializable
Non-runtime exception for test cases.
- Author:
- Philip Helger
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Constructor with a message.MockException(String s, Throwable t) Constructor with a message and a cause.Constructor with a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MockException
public MockException()Default constructor. -
MockException
Constructor with a message.- Parameters:
s- The detail message. May benull.
-
MockException
Constructor with a cause.- Parameters:
t- The cause. May benull.
-
MockException
Constructor with a message and a cause.- Parameters:
s- The detail message. May benull.t- The cause. May benull.
-