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. 
 

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.
 



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