Package org.eclipse.jgit.errors
Class NoClosingBracketException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jgit.errors.InvalidPatternException
org.eclipse.jgit.errors.NoClosingBracketException
- All Implemented Interfaces:
Serializable
Thrown when a pattern contains a character group which is open to the right
side or a character class which is open to the right side.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNoClosingBracketException
(int indexOfOpeningBracket, String openingBracket, String closingBracket, String pattern) Constructor for NoClosingBracketException -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
createMessage
(int indexOfOpeningBracket, String openingBracket, String closingBracket) Methods inherited from class org.eclipse.jgit.errors.InvalidPatternException
getPattern
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
NoClosingBracketException
public NoClosingBracketException(int indexOfOpeningBracket, String openingBracket, String closingBracket, String pattern) Constructor for NoClosingBracketException- Parameters:
indexOfOpeningBracket
- the position of the [ character which has no ] character.openingBracket
- the unclosed bracket.closingBracket
- the missing closing bracket.pattern
- the invalid pattern.
-
-
Method Details
-
createMessage
-