com.softwareag.centrasite.appl.framework.validation.impl
Class AbstractDynamicErrorCode
java.lang.Object
com.softwareag.centrasite.appl.framework.validation.impl.AbstractDynamicErrorCode
- All Implemented Interfaces:
- ErrorCode, DynamicErrorCode
public abstract class AbstractDynamicErrorCode
- extends java.lang.Object
- implements DynamicErrorCode
Default implementation of DynamicErrorCode
: The "info"
parameter is parsed as a string of error code specifications.
In other words, the task of the method
DynamicErrorCode.getErrorCode(Context, Object)
is to
select either of the specified codes.
Method Summary |
protected java.lang.String[] |
getErrorCodes()
Returns the set of possible error codes. |
void |
setInfo(java.lang.String pErrorCodes)
Sets the set of specified error codes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDynamicErrorCode
public AbstractDynamicErrorCode()
getErrorCodes
protected java.lang.String[] getErrorCodes()
- Returns the set of possible error codes.
setInfo
public void setInfo(java.lang.String pErrorCodes)
- Sets the set of specified error codes.
- Parameters:
pErrorCodes
- The possible error codes as a comma separated list.