public class InvalidMethodException extends ConsumerContractException
Constructor and Description |
---|
InvalidMethodException(java.lang.String msg)
Constructs a
InvalidMethodException with the specified
detail message. |
InvalidMethodException(java.lang.String msg,
java.lang.Throwable t)
Constructs a
InvalidMethodException with the specified
detail message and cause. |
InvalidMethodException(java.lang.Throwable t)
Constructs a
InvalidMethodException with the specified
cause and a detail message of
cause.toString() which typically contains the class and
detail message of cause . |
public InvalidMethodException(java.lang.String msg)
InvalidMethodException
with the specified
detail message. The error message string msg
can
later be retrieved by the getMessage() method of
Throwable
.msg
- the error messagepublic InvalidMethodException(java.lang.String msg, java.lang.Throwable t)
InvalidMethodException
with the specified
detail message and cause. The error message string msg
can
later be retrieved by the getMessage() method of
Throwable
.msg
- the error messaget
- the cause of the exceptionpublic InvalidMethodException(java.lang.Throwable t)
InvalidMethodException
with the specified
cause and a detail message of
cause.toString()
which typically contains the class and
detail message of cause
.t
- the cause of the exception