Package randoop.output
Class FailingAssertionCommentWriter.NotMatchedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- randoop.output.FailingAssertionCommentWriter.NotMatchedException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FailingAssertionCommentWriter
private static class FailingAssertionCommentWriter.NotMatchedException extends RuntimeException
An exception that indicates that an expected pattern was not found.
-
-
Field Summary
Fields Modifier and Type Field Description Pattern
pattern
The pattern that was not found.private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description NotMatchedException(Pattern pattern)
Create a new NotMatchedException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
pattern
public final Pattern pattern
The pattern that was not found.
-
-
Constructor Detail
-
NotMatchedException
public NotMatchedException(Pattern pattern)
Create a new NotMatchedException.- Parameters:
pattern
- the pattern that was not found
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-