org.lexevs.dao.database.service.error
Interface DatabaseError

All Known Subinterfaces:
LoadValidationError, ResolvedLoadValidationError
All Known Implementing Classes:
AbstractError, AssociationSourceBatchInsertError, DefaultDatabaseError, EntityBatchInsertError, FatalError, NullNamespaceError, WrappingLoadValidationError

public interface DatabaseError

The Interface DatabaseError.

Author:
Kevin Peterson

Field Summary
static java.lang.String UNKNOWN_ERROR_CODE
           
 
Method Summary
 java.lang.String getErrorCode()
          Gets the error code.
 java.lang.String getErrorDescription()
           
 java.lang.Exception getErrorException()
          Gets the error exception.
 java.lang.String getErrorMessage()
           
 java.lang.Object getErrorObject()
          Gets the error object.
 java.util.Date getErrorTime()
          Gets the error time.
 java.lang.String getUniqueErrorId()
           
 

Field Detail

UNKNOWN_ERROR_CODE

static final java.lang.String UNKNOWN_ERROR_CODE
See Also:
Constant Field Values
Method Detail

getErrorTime

java.util.Date getErrorTime()
Gets the error time.

Returns:
the error time

getErrorObject

java.lang.Object getErrorObject()
Gets the error object.

Returns:
the error object

getErrorException

java.lang.Exception getErrorException()
Gets the error exception.

Returns:
the error exception

getUniqueErrorId

java.lang.String getUniqueErrorId()

getErrorDescription

java.lang.String getErrorDescription()

getErrorCode

java.lang.String getErrorCode()
Gets the error code.

Returns:
the error code

getErrorMessage

java.lang.String getErrorMessage()

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.