org.acmsl.regexpplugin.gnuregexp
Class MalformedPatternExceptionGNUAdapter

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.acmsl.regexpplugin.MalformedPatternException
                    |
                    +--org.acmsl.regexpplugin.gnuregexp.MalformedPatternExceptionGNUAdapter
All Implemented Interfaces:
java.io.Serializable, org.acmsl.version.Versionable

public class MalformedPatternExceptionGNUAdapter
extends MalformedPatternException

Adapts GNU Regexp 1.1.4 malformed pattern exceptions to follow this API.

Version:
$Revision: 1.3 $
Author:
Jose San Leandro Armend?riz
See Also:
Serialized Form

Field Summary
static org.acmsl.version.Version VERSION
          Concrete version object updated everytime it's checked-in in a CVS repository.
 
Constructor Summary
MalformedPatternExceptionGNUAdapter(gnu.regexp.REException exception)
          Constructs an adapter for given GNU Regexp 1.1.4 exception.
 
Method Summary
static org.acmsl.version.Version getClassVersion()
          Retrieves the current version of this class.
 org.acmsl.version.Version getVersion()
          Retrieves the current version of this object.
protected  void setAdaptee(gnu.regexp.REException adaptee)
          Sets the adaptee.
 
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
 

Field Detail

VERSION

public static final org.acmsl.version.Version VERSION
Concrete version object updated everytime it's checked-in in a CVS repository.

Constructor Detail

MalformedPatternExceptionGNUAdapter

public MalformedPatternExceptionGNUAdapter(gnu.regexp.REException exception)
Constructs an adapter for given GNU Regexp 1.1.4 exception.

Parameters:
exception - concrete exception instance to adapt.
Method Detail

setAdaptee

protected void setAdaptee(gnu.regexp.REException adaptee)
Sets the adaptee.

Parameters:
adaptee - the instance to adapt.

getVersion

public org.acmsl.version.Version getVersion()
Retrieves the current version of this object.

Specified by:
getVersion in interface org.acmsl.version.Versionable
Overrides:
getVersion in class MalformedPatternException
Returns:
the version object with such information.

getClassVersion

public static org.acmsl.version.Version getClassVersion()
Retrieves the current version of this class.

Returns:
the object with class version information.


Copyright © 2003 ACM S.L.. All Rights Reserved.