com.softwareag.centrasite.appl.framework.validation.impl
Class DefaultErrorCodeFactory
java.lang.Object
com.softwareag.centrasite.appl.framework.validation.impl.DefaultErrorCodeFactory
- All Implemented Interfaces:
- ErrorCodeFactory
public class DefaultErrorCodeFactory
- extends java.lang.Object
- implements ErrorCodeFactory
Default implementation of ErrorCodeFactory
. This class
supports the following error code specifications: Simple
specifications like
errorCode="foo"
will be converted into
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultErrorCodeFactory
public DefaultErrorCodeFactory()
newErrorCode
protected ErrorCode newErrorCode(java.lang.String pClassName,
java.lang.String pInfo)
throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
- Creates a new error code with the given class name and info.
- Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException
newErrorCode
public ErrorCode newErrorCode(java.lang.String pValue)
throws com.softwareag.centrasite.appl.framework.CSAppFrameworkException
- Description copied from interface:
ErrorCodeFactory
- Creates a new instance of
ErrorCode
.
- Specified by:
newErrorCode
in interface ErrorCodeFactory
- Throws:
com.softwareag.centrasite.appl.framework.CSAppFrameworkException