Top Description Fields Constructors Methods
org.eclipse.jgit.errors

public Class NoClosingBracketException

extends InvalidPatternException
Class Inheritance
Imports
java.text.MessageFormat, org.eclipse.jgit.internal.JGitText

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.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NoClosingBracketException(final int
the position of the [ character which has no ] character.
indexOfOpeningBracket
,
final String
the unclosed bracket.
openingBracket
,
final String
the missing closing bracket.
closingBracket
,
final String
the invalid pattern.
pattern
)

Constructor for NoClosingBracketException

Method Summary

Modifier and TypeMethod and Description
private static String
createMessage(final int indexOfOpeningBracket, final String openingBracket, final String closingBracket)

Inherited from org.eclipse.jgit.errors.InvalidPatternException:
getPattern

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.jgit.errors.InvalidPatternException.serialVersionUID.

Constructor Detail

NoClosingBracketExceptionback to summary
public NoClosingBracketException(final int indexOfOpeningBracket, final String openingBracket, final String closingBracket, final String pattern)

Constructor for NoClosingBracketException

Parameters
indexOfOpeningBracket:int

the position of the [ character which has no ] character.

openingBracket:String

the unclosed bracket.

closingBracket:String

the missing closing bracket.

pattern:String

the invalid pattern.

Method Detail

createMessageback to summary
private static String createMessage(final int indexOfOpeningBracket, final String openingBracket, final String closingBracket)