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:
java.io.Serializable
public class NoClosingBracketException extends InvalidPatternException
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description NoClosingBracketException(int indexOfOpeningBracket, java.lang.String openingBracket, java.lang.String closingBracket, java.lang.String pattern)Constructor for NoClosingBracketException
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringcreateMessage(int indexOfOpeningBracket, java.lang.String openingBracket, java.lang.String closingBracket)-
Methods inherited from class org.eclipse.jgit.errors.InvalidPatternException
getPattern
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NoClosingBracketException
public NoClosingBracketException(int indexOfOpeningBracket, java.lang.String openingBracket, java.lang.String closingBracket, java.lang.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.
-
-