Class NoClosingBracketException

  • All Implemented Interfaces:
    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
    • Constructor Detail

      • 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.