类 MalformedCachePatternException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.oro.text.MalformedCachePatternException
- 所有已实现的接口:
Serializable
- 直接已知子类:
MalformedPerl5PatternException
An exception used to indicate errors in a regular expression fetched
from a PatternCache.
It is derived from RuntimeException, and therefore does not have to be
caught. You should generally make an effort to catch
MalformedCachePatternException whenever you use dynamically generated
patterns (from user input or some other source). Static expressions
represented as strings in your source code don't require exception
handling because as you write and test run your program you will
correct any errors in those expressions when you run into an uncaught
MalformedCachePatternException. By the time you complete your
project, those static expressions will be guaranteed to be correct.
However, pieces of code with expressions that you cannot guarantee to
be correct should catch MalformedCachePatternException to ensure
reliability.
- 从以下版本开始:
- 1.0
- 版本:
- @version@
- 另请参阅:
-
构造器概要
构造器构造器说明Simply calls the corresponding constructor of its superclass.MalformedCachePatternException(String message) Simply calls the corresponding constructor of its superclass. -
方法概要
-
构造器详细资料
-
MalformedCachePatternException
public MalformedCachePatternException()Simply calls the corresponding constructor of its superclass. -
MalformedCachePatternException
Simply calls the corresponding constructor of its superclass.- 参数:
message- A message indicating the nature of the error.
-