Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      NoClosingBracketException​(int indexOfOpeningBracket, java.lang.String openingBracket, java.lang.String closingBracket, java.lang.String pattern)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • NoClosingBracketException

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