laser.regularlanguage.regularexpression
Class REException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by laser.regularlanguage.regularexpression.REException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
REVisitorException

public class REException
extends java.lang.Exception

The REException class signals when a Regular Expression is malformed.

Author:
Heather M. Conboy (laser-software@cs.umass.edu)
See Also:
Serialized Form

Constructor Summary
REException()
          Creates a new REException.
REException(java.lang.String s)
          Creates a new REException with the given message to report to the user.
REException(java.lang.String s, java.lang.Throwable c)
          Creates a new REException with the given message to report to the user and cause.
REException(java.lang.Throwable c)
          Creates a new REException with the given message to report to the user and cause.
 
Method Summary
 
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

REException

public REException()
Creates a new REException.


REException

public REException(java.lang.String s)
Creates a new REException with the given message to report to the user.

Parameters:
s - The message to report to the user

REException

public REException(java.lang.String s,
                   java.lang.Throwable c)
Creates a new REException with the given message to report to the user and cause.

Parameters:
s - The message to report to the user
c - The cause

REException

public REException(java.lang.Throwable c)
Creates a new REException with the given message to report to the user and cause.

Parameters:
c - The cause