类 PatternParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
cn.taketoday.web.util.pattern.PatternParseException
- 所有已实现的接口:
Serializable
Exception that is thrown when there is a problem with the pattern being parsed.
- 从以下版本开始:
- 4.0
- 作者:
- Andy Clement
- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static enumThe messages that can be included in aPatternParseExceptionwhen there is a parse failure. -
字段概要
字段修饰符和类型字段说明private final Object[]private final PatternParseException.PatternMessageprivate final char[]private final int -
构造器概要
构造器构造器说明PatternParseException(int pos, char[] pattern, PatternParseException.PatternMessage messageType, Object... inserts) PatternParseException(Throwable cause, int pos, char[] pattern, PatternParseException.PatternMessage messageType, Object... inserts) -
方法概要
修饰符和类型方法说明Object[]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.
-
字段详细资料
-
position
private final int position -
pattern
private final char[] pattern -
messageType
-
inserts
-
-
构造器详细资料
-
PatternParseException
PatternParseException(int pos, char[] pattern, PatternParseException.PatternMessage messageType, Object... inserts) -
PatternParseException
PatternParseException(Throwable cause, int pos, char[] pattern, PatternParseException.PatternMessage messageType, Object... inserts)
-
-
方法详细资料
-
getMessage
Return a formatted message with inserts applied.- 覆盖:
getMessage在类中Throwable
-
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() -
getMessageType
-
getInserts
-