com.stevesoft.pat
Class RegSyntaxError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--com.stevesoft.pat.RegSyntaxError
All Implemented Interfaces:
java.io.Serializable

public class RegSyntaxError
extends java.lang.Error

When enabled, this class is thrown instead of the normal RegSyntax. Thus, enabling of this class will make your debugging easier -- but if you leave it on and forget to catch RegSyntaxError a user-supplied pattern could generate a RegSyntaxError that will kill your application. I strongly recommend turning this flag on, however, as I think it is more likely to help than to hurt your programming efforts.

See Also:
Serialized Form

Field Summary
static boolean RegSyntaxErrorEnabled
           
 
Constructor Summary
RegSyntaxError()
           
RegSyntaxError(java.lang.String s)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RegSyntaxErrorEnabled

public static boolean RegSyntaxErrorEnabled
Constructor Detail

RegSyntaxError

public RegSyntaxError()

RegSyntaxError

public RegSyntaxError(java.lang.String s)