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:
- Serializable
Exception that is thrown when there is a problem with the pattern being parsed.
- Since:
- 5.0
- Author:
- Andy Clement, Brian Clozel
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe messages that can be included in aPatternParseExceptionwhen there is a parse failure.
- 
Method SummaryModifier and TypeMethodDescriptionObject[]Return a formatted message with inserts applied.intReturn 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 ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Method Details- 
getMessageReturn a formatted message with inserts applied.- Overrides:
- getMessagein class- Throwable
 
- 
toDetailedStringReturn a detailed message that includes the original pattern text with a pointer to the error position, as well as the error message.
- 
getPositionpublic int getPosition()
- 
getMessageType
- 
getInserts
 
-