|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 |
---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |