org.apache.empire.struts2.jsp.controls
Class InputControl.FieldValueError

java.lang.Object
  extended by org.apache.empire.struts2.jsp.controls.InputControl.FieldValueError
All Implemented Interfaces:
ErrorInfo
Enclosing class:
InputControl

public static final class InputControl.FieldValueError
extends java.lang.Object
implements ErrorInfo

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()
           
 java.lang.String getErrorSource()
           
 ErrorType getErrorType()
           
 java.lang.String getValue()
           
 boolean hasError()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputControl.FieldValueError

public InputControl.FieldValueError(ErrorType errorType,
                                    java.lang.String[] msgParams,
                                    java.lang.String value,
                                    java.lang.Class source)
Method Detail

hasError

public boolean hasError()
Specified by:
hasError in interface ErrorInfo

getErrorType

public ErrorType getErrorType()
Specified by:
getErrorType in interface ErrorInfo

getValue

public java.lang.String getValue()

getErrorParams

public java.lang.String[] getErrorParams()
Specified by:
getErrorParams in interface ErrorInfo

getErrorSource

public java.lang.String getErrorSource()
Specified by:
getErrorSource in interface ErrorInfo


Copyright © 2008-2010 Apache Software Foundation. All Rights Reserved.