edu.mayo.informatics.lexgrid.convert.inserter.error
Class EntityBatchInsertError

java.lang.Object
  extended by org.lexevs.dao.database.service.error.DefaultDatabaseError
      extended by edu.mayo.informatics.lexgrid.convert.validator.error.AbstractError
          extended by edu.mayo.informatics.lexgrid.convert.inserter.error.EntityBatchInsertError
All Implemented Interfaces:
LoadValidationError, DatabaseError

public class EntityBatchInsertError
extends AbstractError

The Class EntityBatchInsertError.

Author:
Kevin Peterson

Nested Class Summary
static class EntityBatchInsertError.EntityBatchInsertErrorItem
          The Class EntityBatchInsertErrorItem.
 
Nested classes/interfaces inherited from interface edu.mayo.informatics.lexgrid.convert.validator.error.LoadValidationError
LoadValidationError.Severity
 
Field Summary
static java.lang.String DESCRIPTION
          The DESCRIPTION.
static java.lang.String ENTITY_BATCH_INSERT_ERROR_CODE
          The ENTIT y_ batc h_ inser t_ erro r_ code.
 
Fields inherited from interface org.lexevs.dao.database.service.error.DatabaseError
UNKNOWN_ERROR_CODE
 
Constructor Summary
EntityBatchInsertError(EntityBatchInsertError.EntityBatchInsertErrorItem errorItem)
          Instantiates a new entity batch insert error.
EntityBatchInsertError(java.lang.Object errorObject, java.lang.Exception errorException)
           
 
Method Summary
 java.lang.String getErrorCode()
          Gets the error code.
 java.lang.String getErrorDescription()
           
protected  java.lang.String getErrorObjectDescription()
          Gets the error object description.
 
Methods inherited from class edu.mayo.informatics.lexgrid.convert.validator.error.AbstractError
getSeverity, setSeverity, toString
 
Methods inherited from class org.lexevs.dao.database.service.error.DefaultDatabaseError
getErrorException, getErrorMessage, getErrorObject, getErrorTime, getUniqueErrorId, isDebug, setDebug, setErrorException, setErrorObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.lexevs.dao.database.service.error.DatabaseError
getErrorException, getErrorMessage, getErrorObject, getErrorTime, getUniqueErrorId
 

Field Detail

ENTITY_BATCH_INSERT_ERROR_CODE

public static java.lang.String ENTITY_BATCH_INSERT_ERROR_CODE
The ENTIT y_ batc h_ inser t_ erro r_ code.


DESCRIPTION

public static java.lang.String DESCRIPTION
The DESCRIPTION.

Constructor Detail

EntityBatchInsertError

public EntityBatchInsertError(EntityBatchInsertError.EntityBatchInsertErrorItem errorItem)
Instantiates a new entity batch insert error.

Parameters:
errorItem - the error item

EntityBatchInsertError

public EntityBatchInsertError(java.lang.Object errorObject,
                              java.lang.Exception errorException)
Method Detail

getErrorObjectDescription

protected java.lang.String getErrorObjectDescription()
Description copied from class: DefaultDatabaseError
Gets the error object description.

Overrides:
getErrorObjectDescription in class DefaultDatabaseError
Returns:
the error object description

getErrorCode

public java.lang.String getErrorCode()
Description copied from interface: DatabaseError
Gets the error code.

Specified by:
getErrorCode in interface DatabaseError
Overrides:
getErrorCode in class DefaultDatabaseError
Returns:
the error code

getErrorDescription

public java.lang.String getErrorDescription()
Specified by:
getErrorDescription in interface DatabaseError
Overrides:
getErrorDescription in class DefaultDatabaseError

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.