All Packages Class Hierarchy This Package Previous Next Index
Class com.oroinc.text.perl.MalformedPerl5PatternException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----com.oroinc.text.MalformedCachePatternException
|
+----com.oroinc.text.perl.MalformedPerl5PatternException
- public final class MalformedPerl5PatternException
- extends MalformedCachePatternException
An exception used to indicate errors in Perl style regular expressions.
It is derived from RuntimeException, and therefore does not have to be
caught. You should generally make an effort to catch
MalformedPerl5PatternException 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
MalformedPerl5PatternException. 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 MalformedPerl5PatternException to ensure
reliability.
Copyright © 1997 Original Resuable Objects, Inc. All rights reserved.
- See Also:
- MalformedPatternException, Perl5PatternCache
-
MalformedPerl5PatternException()
- Simply calls the corresponding constructor of its superclass.
-
MalformedPerl5PatternException(String)
- Simply calls the corresponding constructor of its superclass.
MalformedPerl5PatternException
public MalformedPerl5PatternException()
- Simply calls the corresponding constructor of its superclass.
MalformedPerl5PatternException
public MalformedPerl5PatternException(String message)
- Simply calls the corresponding constructor of its superclass.
- Parameters:
- message - A message indicating the nature of the error.
All Packages Class Hierarchy This Package Previous Next Index