public class CannotMatchException
extends java.lang.Exception
Constructor and Description |
---|
CannotMatchException(IMatchFailure failure)
provides a more detailed explanation of the failure
|
CannotMatchException(java.lang.String message)
Constructor for the CannotMatchException object
|
CannotMatchException(java.lang.String message,
java.lang.Exception e) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
fillInStackTrace()
no need for stack traces here
|
IMatchFailure |
getMismatch() |
java.lang.String |
toString() |
public CannotMatchException(java.lang.String message)
message
- Description of the Parameterpublic CannotMatchException(java.lang.String message, java.lang.Exception e)
public CannotMatchException(IMatchFailure failure)
failure
- public IMatchFailure getMismatch()
public java.lang.Throwable fillInStackTrace()
fillInStackTrace
in class java.lang.Throwable
Throwable.fillInStackTrace()
public java.lang.String toString()
toString
in class java.lang.Throwable