org.acmsl.regexpplugin
Class RegexpEngineNotFoundException

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

public class RegexpEngineNotFoundException
extends java.lang.Exception
implements java.io.Serializable, org.acmsl.version.Versionable

Generic exception thrown at runtime when the specified regexp engine is not found.

Version:
$Revision: 1.5 $
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
RegexpEngineNotFoundException(java.lang.String engineName, java.lang.String engineVersion, java.lang.String packageName, java.lang.String compilerClassName, java.lang.String matcherClassName, java.lang.String helperClassName)
          Just constructs the exception with the default logic defined in its super class.
 
Method Summary
static org.acmsl.version.Version getClassVersion()
          Retrieves the current version of this class.
 java.lang.String getCompilerClassName()
          Retrieves the compiler class name of the Regexp implementation whose instantiation has thrown the runtime exception.
 java.lang.String getEngineName()
          Retrieves the implementation name.
 java.lang.String getEnginePackage()
          Retrieves the Regexp implementation package name.
 java.lang.String getEngineVersion()
          Retrieves the implementation version.
 java.lang.String getHelperClassName()
          Retrieves the helper class name of the Regexp implementation whose instantiation has thrown the runtime exception.
 java.lang.String getMatcherClassName()
          Retrieves the matcher class name of the Regexp implementation whose instantiation has thrown the runtime exception.
 org.acmsl.version.Version getVersion()
          Retrieves the current version of this object.
protected  void setCompilerClassName(java.lang.String compilerClassName)
          Sets the compiler class name of the Regexp implementation.
protected  void setEngineName(java.lang.String engineName)
          Sets the implementation name.
protected  void setEnginePackage(java.lang.String enginePackage)
          Sets the Regexp implementation package name.
protected  void setEngineVersion(java.lang.String engineVersion)
          Sets the implementation version.
protected  void setHelperClassName(java.lang.String helperClassName)
          Sets the helper class name of the Regexp implementation.
protected  void setMatcherClassName(java.lang.String matcherClassName)
          Sets the matcher class name of the Regexp implementation.
 
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

RegexpEngineNotFoundException

public RegexpEngineNotFoundException(java.lang.String engineName,
                                     java.lang.String engineVersion,
                                     java.lang.String packageName,
                                     java.lang.String compilerClassName,
                                     java.lang.String matcherClassName,
                                     java.lang.String helperClassName)
Just constructs the exception with the default logic defined in its super class.

Parameters:
engineName - the name of the Regexp implementation whose instatiation has failed.
engineVersion - the version of the engine.
packageName - the name of the engine class package.
compilerClassName - the compiler class name.
matcherClassName - the matcher class name.
helperClassName - the helper class name.
Method Detail

getEngineName

public java.lang.String getEngineName()
Retrieves the implementation name.

Returns:
implementation name.

setEngineName

protected void setEngineName(java.lang.String engineName)
Sets the implementation name.

Parameters:
engineName - implementation name.

getEngineVersion

public java.lang.String getEngineVersion()
Retrieves the implementation version. It's not calculated, just based on what the implementation provides.

Returns:
the version of the implementation.

setEngineVersion

protected void setEngineVersion(java.lang.String engineVersion)
Sets the implementation version.

Parameters:
engineVersion - the version of the implementation.

getEnginePackage

public java.lang.String getEnginePackage()
Retrieves the Regexp implementation package name.

Returns:
the engine package.

setEnginePackage

protected void setEnginePackage(java.lang.String enginePackage)
Sets the Regexp implementation package name.

Parameters:
enginePackage - the engine package.

getCompilerClassName

public java.lang.String getCompilerClassName()
Retrieves the compiler class name of the Regexp implementation whose instantiation has thrown the runtime exception.

Returns:
the compiler class name.

setCompilerClassName

protected void setCompilerClassName(java.lang.String compilerClassName)
Sets the compiler class name of the Regexp implementation.

Parameters:
compilerClassName - the compiler class name.

getMatcherClassName

public java.lang.String getMatcherClassName()
Retrieves the matcher class name of the Regexp implementation whose instantiation has thrown the runtime exception.

Returns:
the matcher class name.

setMatcherClassName

protected void setMatcherClassName(java.lang.String matcherClassName)
Sets the matcher class name of the Regexp implementation.

Parameters:
matcherClassName - the matcher class name.

getHelperClassName

public java.lang.String getHelperClassName()
Retrieves the helper class name of the Regexp implementation whose instantiation has thrown the runtime exception.

Returns:
the helper class name.

setHelperClassName

protected void setHelperClassName(java.lang.String helperClassName)
Sets the helper class name of the Regexp implementation.

Parameters:
helperClassName - the helper class name.

getVersion

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

Specified by:
getVersion in interface org.acmsl.version.Versionable
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.