public class MockObjectInvocationException extends MockObjectsException
MockObjectInvocationException class is an extension of MockObjectsException to categorize
problems with method invocations on Mock Objects.MockObjectsException,
Serialized Form| Constructor and Description |
|---|
MockObjectInvocationException()
Constructs a new instance of the
MockObjectInvocationException class with no message or underlying cause. |
MockObjectInvocationException(java.lang.String message)
Constructs a new instance of the
MockObjectInvocationException class initialized with
the given message describing the problem. |
MockObjectInvocationException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new instance of the
MockObjectInvocationException class initialized with
the given message describing the underlying problem as well as the cause
of the underlying problem. |
MockObjectInvocationException(java.lang.Throwable cause)
Constructs a new instance of the
MockObjectInvocationException class initialized with
the given cause of the underlying problem. |
public MockObjectInvocationException()
MockObjectInvocationException class with no message or underlying cause.public MockObjectInvocationException(java.lang.String message)
MockObjectInvocationException class initialized with
the given message describing the problem.message - String describing the problem.Stringpublic MockObjectInvocationException(java.lang.Throwable cause)
MockObjectInvocationException class initialized with
the given cause of the underlying problem.cause - Throwable object containing the cause of this exception.Throwablepublic MockObjectInvocationException(java.lang.String message,
java.lang.Throwable cause)
MockObjectInvocationException class initialized with
the given message describing the underlying problem as well as the cause
of the underlying problem.message - String describing the problem.cause - Throwable object containing the cause of this exception.Throwable,
String