|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.empire.struts2.jsp.controls.InputControl.FieldValueError
public static final class InputControl.FieldValueError
This class wraps a parsing or validation error. You should not use this class directly but through the error function of InputControl
Constructor Summary | |
---|---|
InputControl.FieldValueError(ErrorType errorType,
java.lang.String[] msgParams,
java.lang.String value,
java.lang.Class source)
|
Method Summary | |
---|---|
java.lang.String[] |
getErrorParams()
Returns the parameters used to build the error text. |
java.lang.String |
getErrorSource()
Returns the source object's class name that raised the error |
ErrorType |
getErrorType()
Returns the last error code. |
java.lang.String |
getValue()
|
boolean |
hasError()
Returns wether or not an error is set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InputControl.FieldValueError(ErrorType errorType, java.lang.String[] msgParams, java.lang.String value, java.lang.Class source)
Method Detail |
---|
public boolean hasError()
ErrorInfo
hasError
in interface ErrorInfo
public ErrorType getErrorType()
ErrorInfo
getErrorType
in interface ErrorInfo
public java.lang.String getValue()
public java.lang.String[] getErrorParams()
ErrorInfo
getErrorParams
in interface ErrorInfo
public java.lang.String getErrorSource()
ErrorInfo
getErrorSource
in interface ErrorInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |