Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.oro.text.perl
Class MalformedPerl5PatternException  view MalformedPerl5PatternException download MalformedPerl5PatternException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.oro.text.MalformedCachePatternException
                  extended byorg.apache.oro.text.perl.MalformedPerl5PatternException
All Implemented Interfaces:
java.io.Serializable

public final class MalformedPerl5PatternException
extends org.apache.oro.text.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.

Since:
1.0
Version:
@version@

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
MalformedPerl5PatternException()
          Simply calls the corresponding constructor of its superclass.
MalformedPerl5PatternException(java.lang.String message)
          Simply calls the corresponding constructor of its superclass.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MalformedPerl5PatternException

public MalformedPerl5PatternException()
Simply calls the corresponding constructor of its superclass.


MalformedPerl5PatternException

public MalformedPerl5PatternException(java.lang.String message)
Simply calls the corresponding constructor of its superclass.