Uses of Class
org.apache.empire.commons.ErrorType

Packages that use ErrorType
org.apache.empire   
org.apache.empire.commons This package contains various common classes for error handling, specific data types and data type conversion. 
org.apache.empire.db This package contains the core Empire-DB implementation classes. 
org.apache.empire.struts2.action   
org.apache.empire.struts2.actionsupport   
org.apache.empire.struts2.jsp.controls   
org.apache.empire.struts2.web   
org.apache.empire.struts2.websample.common   
 

Uses of ErrorType in org.apache.empire
 

Methods in org.apache.empire that return ErrorType
 ErrorType EmpireException.getErrorType()
          The type of error that occurred
 

Uses of ErrorType in org.apache.empire.commons
 

Fields in org.apache.empire.commons declared as ErrorType
static ErrorType Errors.Cancelled
           
 ErrorType ErrorObject.ObjectErrorInfo.errType
          Type of error
static ErrorType Errors.Exception
           
static ErrorType Errors.FileExists
           
static ErrorType Errors.FileFormatError
           
static ErrorType Errors.FileNotFound
           
static ErrorType Errors.FileReadError
           
static ErrorType Errors.FileWriteError
           
static ErrorType Errors.IllegalFormat
           
static ErrorType Errors.IllegalValue
           
static ErrorType Errors.Internal
           
static ErrorType Errors.InvalidArg
           
static ErrorType Errors.InvalidPassword
           
static ErrorType Errors.InvalidProperty
           
static ErrorType Errors.ItemExists
           
static ErrorType Errors.ItemNotFound
           
static ErrorType Errors.NoAccess
           
static ErrorType Errors.NoMoreData
           
static ErrorType Errors.None
           
static ErrorType Errors.NoResult
           
static ErrorType Errors.NotAuthorized
           
static ErrorType Errors.NotImplemented
           
static ErrorType Errors.NotSupported
           
static ErrorType Errors.ObjectNotValid
           
static ErrorType Errors.OutOfRange
           
static ErrorType Errors.PathCreateFailed
           
static ErrorType Errors.PathNotFound
           
 

Methods in org.apache.empire.commons that return ErrorType
 ErrorType ErrorObject.getErrorType()
          Returns the last error code.
 ErrorType ErrorInfo.getErrorType()
          Returns the last error code.
 

Methods in org.apache.empire.commons with parameters of type ErrorType
protected  boolean ErrorObject.error(ErrorType errType)
          Sets the error.
protected  boolean ErrorObject.error(ErrorType errType, java.lang.Object param)
          Sets the specified error and and the message.
protected  boolean ErrorObject.error(ErrorType errType, java.lang.Object[] params)
          Sets an error from an error code an an array of parameters
protected  boolean ErrorObject.error(ErrorType errType, java.lang.Object param1, java.lang.Object param2)
          Sets the specified error and two messages.
protected  boolean ErrorObject.error(ErrorType errType, java.lang.Throwable exptn)
          Sets the specified error and the corresponding error message on this object.
protected  boolean ErrorObject.internalSetError(ErrorType errType, java.lang.Object[] params, ErrorInfo source)
          Sets the last error and the corresponding error message on this object.
 

Uses of ErrorType in org.apache.empire.db
 

Fields in org.apache.empire.db declared as ErrorType
static ErrorType DBErrors.ConnecitonInvalid
           
static ErrorType DBErrors.DatabaseNotOpen
           
static ErrorType DBErrors.FieldInvalidDateFormat
           
static ErrorType DBErrors.FieldInvalidValue
           
static ErrorType DBErrors.FieldIsReadOnly
           
static ErrorType DBErrors.FieldNotNull
           
static ErrorType DBErrors.FieldNotNumeric
           
static ErrorType DBErrors.FieldValueTooLong
           
static ErrorType DBErrors.NoPrimaryKey
           
static ErrorType DBErrors.ObjectCreationFailed
           
static ErrorType DBErrors.ObjectNotFound
           
static ErrorType DBErrors.QueryFailed
           
static ErrorType DBErrors.QueryNoResult
           
static ErrorType DBErrors.RecordDeleteFailed
           
static ErrorType DBErrors.RecordInvalidKey
           
static ErrorType DBErrors.RecordNotFound
           
static ErrorType DBErrors.RecordUpdateFailed
           
static ErrorType DBErrors.RecordUpdateInvalid
           
static ErrorType DBErrors.SQLException
           
 

Methods in org.apache.empire.db with parameters of type ErrorType
protected  boolean DBObject.error(ErrorType type, java.sql.SQLException sqle)
          Sets the current error from an SQL Exception.
 

Uses of ErrorType in org.apache.empire.struts2.action
 

Methods in org.apache.empire.struts2.action with parameters of type ErrorType
protected  void WebAction.addItemError(java.lang.String item, ErrorType errorType, java.lang.String title, ErrorInfo error)
           
protected  void WebAction.setActionError(ErrorType errType)
           
protected  void WebAction.setActionError(ErrorType errType, java.lang.Object param)
           
 

Uses of ErrorType in org.apache.empire.struts2.actionsupport
 

Constructors in org.apache.empire.struts2.actionsupport with parameters of type ErrorType
ActionError(ErrorType errType)
           
ActionError(ErrorType errType, java.lang.Exception exptn)
           
ActionError(ErrorType errType, java.lang.Object param)
           
ActionError(ErrorType errType, java.lang.Object[] params)
           
ActionError(ErrorType errType, java.lang.Object param1, java.lang.Object param2)
           
 

Uses of ErrorType in org.apache.empire.struts2.jsp.controls
 

Methods in org.apache.empire.struts2.jsp.controls that return ErrorType
 ErrorType InputControl.FieldValueError.getErrorType()
           
 

Methods in org.apache.empire.struts2.jsp.controls with parameters of type ErrorType
protected  InputControl.FieldValueError InputControl.error(ErrorType errorType, java.lang.Object msgParam, java.lang.String value)
           
protected  InputControl.FieldValueError InputControl.error(ErrorType errorType, java.lang.String[] msgParams, java.lang.String value)
          This method can be used to return a parsing or validation error To be used in the getFieldValue, the parseValue or the validate function.
 

Constructors in org.apache.empire.struts2.jsp.controls with parameters of type ErrorType
InputControl.FieldValueError(ErrorType errorType, java.lang.String[] msgParams, java.lang.String value, java.lang.Class source)
           
 

Uses of ErrorType in org.apache.empire.struts2.web
 

Fields in org.apache.empire.struts2.web declared as ErrorType
static ErrorType WebErrors.ColumnNotFound
           
static ErrorType WebErrors.FieldError
           
static ErrorType WebErrors.InputInvalidValue
           
static ErrorType WebErrors.InputNoDateFormat
           
static ErrorType WebErrors.InputNoIntegerFormat
           
static ErrorType WebErrors.InputNoNumberFormat
           
static ErrorType WebErrors.InputTextTooShort
           
static ErrorType WebErrors.InputTimeMissing
           
static ErrorType WebErrors.InputValueOutOfRange
           
static ErrorType WebErrors.InputValueRequired
           
static ErrorType WebErrors.InvalidFormData
           
 

Uses of ErrorType in org.apache.empire.struts2.websample.common
 

Fields in org.apache.empire.struts2.websample.common declared as ErrorType
static ErrorType Errors.WebServiceNotAvailable
           
 



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