Class NoClosingBracketException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.eclipse.jgit.errors.InvalidPatternException
              extended by org.eclipse.jgit.errors.NoClosingBracketException
All Implemented Interfaces:

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

Constructor Summary
NoClosingBracketException(int indexOfOpeningBracket, String openingBracket, String closingBracket, String pattern)
Method Summary
Methods inherited from class org.eclipse.jgit.errors.InvalidPatternException
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


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

Copyright © 2013. All Rights Reserved.