Package org.skyscreamer.jsonassert
Class ValueMatcherException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.skyscreamer.jsonassert.ValueMatcherException
-
- All Implemented Interfaces:
java.io.Serializable
public class ValueMatcherException extends java.lang.RuntimeExceptionException that may be thrown by ValueMatcher subclasses to provide more detail on why matches method failed.- Author:
- Duncan Mackinder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValueMatcherException(java.lang.String message, java.lang.String expected, java.lang.String actual)Create new ValueMatcherExceptionValueMatcherException(java.lang.String message, java.lang.Throwable cause, java.lang.String expected, java.lang.String actual)Create new ValueMatcherException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetActual()java.lang.StringgetExpected()
-
-
-
Constructor Detail
-
ValueMatcherException
public ValueMatcherException(java.lang.String message, java.lang.String expected, java.lang.String actual)Create new ValueMatcherException- Parameters:
message- description of exceptionexpected- value expected by ValueMatcheractual- value being tested by ValueMatcher
-
ValueMatcherException
public ValueMatcherException(java.lang.String message, java.lang.Throwable cause, java.lang.String expected, java.lang.String actual)Create new ValueMatcherException- Parameters:
message- description of exceptioncause- cause of ValueMatcherExceptionexpected- value expected by ValueMatcheractual- value being tested by ValueMatcher
-
-