Class InvalidPatternException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    NoClosingBracketException

    public class InvalidPatternException
    extends java.lang.Exception
    Thrown when a pattern passed in an argument was wrong.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidPatternException​(java.lang.String message, java.lang.String pattern)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPattern()  
      • 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

      • InvalidPatternException

        public InvalidPatternException​(java.lang.String message,
                                       java.lang.String pattern)
        Parameters:
        message - explains what was wrong with the pattern.
        pattern - the invalid pattern.
    • Method Detail

      • getPattern

        public java.lang.String getPattern()
        Returns:
        the invalid pattern.