org.springframework.web.util.pattern

Class PatternParseException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • java.lang.IllegalArgumentException
            • org.springframework.web.util.pattern.PatternParseException
  • All Implemented Interfaces:
    java.io.Serializable


    public class PatternParseException
    extends java.lang.IllegalArgumentException
    Exception that is thrown when there is a problem with the pattern being parsed.
    Since:
    5.0
    Author:
    Andy Clement
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object[] getInserts() 
      java.lang.String getMessage()
      Return a formatted message with inserts applied.
      PatternParseException.PatternMessage getMessageType() 
      int getPosition() 
      java.lang.String toDetailedString()
      Return a detailed message that includes the original pattern text with a pointer to the error position, as well as the error message.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Return a formatted message with inserts applied.
        Overrides:
        getMessage in class java.lang.Throwable
      • toDetailedString

        public java.lang.String toDetailedString()
        Return a detailed message that includes the original pattern text with a pointer to the error position, as well as the error message.
      • getPosition

        public int getPosition()
      • getInserts

        public java.lang.Object[] getInserts()