org.acmsl.regexpplugin.jakartaregexp
Class MalformedPatternExceptionRegexpAdapter

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

public class MalformedPatternExceptionRegexpAdapter
extends MalformedPatternException

Adapts jakarta ORO malformed pattern exceptions to follow this API.

Version:
$Revision: 1.4 $
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
MalformedPatternExceptionRegexpAdapter(org.apache.regexp.RESyntaxException exception)
          Constructs an adapter for given Jakarta Regexp 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(org.apache.regexp.RESyntaxException exception)
          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

MalformedPatternExceptionRegexpAdapter

public MalformedPatternExceptionRegexpAdapter(org.apache.regexp.RESyntaxException exception)
Constructs an adapter for given Jakarta Regexp exception.

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

setAdaptee

protected void setAdaptee(org.apache.regexp.RESyntaxException exception)
Sets the adaptee.

Parameters:
exception - the exception 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.