Package org.eclipse.jgit.errors
Class InvalidPatternException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.jgit.errors.InvalidPatternException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
NoClosingBracketException
public class InvalidPatternException extends java.lang.Exception
Thrown when a pattern passed in an argument was wrong.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
pattern
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description InvalidPatternException(java.lang.String message, java.lang.String pattern)
Constructor for InvalidPatternExceptionInvalidPatternException(java.lang.String message, java.lang.String pattern, java.lang.Throwable cause)
Constructor for InvalidPatternException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPattern()
Get the invalid pattern
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
pattern
private final java.lang.String pattern
-
-
Constructor Detail
-
InvalidPatternException
public InvalidPatternException(java.lang.String message, java.lang.String pattern)
Constructor for InvalidPatternException- Parameters:
message
- explains what was wrong with the pattern.pattern
- the invalid pattern.
-
InvalidPatternException
public InvalidPatternException(java.lang.String message, java.lang.String pattern, java.lang.Throwable cause)
Constructor for InvalidPatternException- Parameters:
message
- explains what was wrong with the pattern.pattern
- the invalid pattern.cause
- the cause.- Since:
- 4.10
-
-