Class InvalidPatternException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jgit.errors.InvalidPatternException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NoClosingBracketException

public class InvalidPatternException extends Exception
Thrown when a pattern passed in an argument was wrong.
See Also:
  • Field Details

  • Constructor Details

    • InvalidPatternException

      public InvalidPatternException(String message, String pattern)
      Constructor for InvalidPatternException
      Parameters:
      message - explains what was wrong with the pattern.
      pattern - the invalid pattern.
    • InvalidPatternException

      public InvalidPatternException(String message, String pattern, Throwable cause)
      Constructor for InvalidPatternException
      Parameters:
      message - explains what was wrong with the pattern.
      pattern - the invalid pattern.
      cause - the cause.
      Since:
      4.10
  • Method Details

    • getPattern

      public String getPattern()
      Get the invalid pattern
      Returns:
      the invalid pattern.