Class IllegalPathPatternException

All Implemented Interfaces:
Serializable

public class IllegalPathPatternException extends IllegalArgumentException
Cannot parse path pattern. Path pattern is a WebServer standard regular language for URI path based routing.
See Also:
  • Constructor Details

    • IllegalPathPatternException

      public IllegalPathPatternException(String message, String pattern, int index)
      Creates new instance.
      Parameters:
      message - Description of the problem.
      pattern - Illegal used pattern.
      index - index of the problematic character.
  • Method Details

    • pattern

      public String pattern()
      Illegal used pattern.
      Returns:
      pattern that was used
    • index

      public int index()
      Index of character.
      Returns:
      index of offending character