edu.mayo.informatics.lexgrid.convert.validator.error
Class FatalError

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.validator.error.FatalError
All Implemented Interfaces:
LoadValidationError, DatabaseError

public class FatalError
extends AbstractError

The Class FatalError.

Author:
Kevin Peterson

Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.mayo.informatics.lexgrid.convert.validator.error.LoadValidationError
LoadValidationError.Severity
 
Field Summary
static java.lang.String FATAL_ERROR_CODE
          The FATA l_ erro r_ code.
static java.lang.String FATAL_ERROR_DESCRIPTION
          The FATA l_ erro r_ description.
 
Fields inherited from interface org.lexevs.dao.database.service.error.DatabaseError
UNKNOWN_ERROR_CODE
 
Constructor Summary
FatalError(java.lang.Object errorObject, java.lang.Exception exception)
          Instantiates a new fatal error.
 
Method Summary
 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
getErrorCode, 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
getErrorCode, getErrorException, getErrorMessage, getErrorObject, getErrorTime, getUniqueErrorId
 

Field Detail

FATAL_ERROR_CODE

public static java.lang.String FATAL_ERROR_CODE
The FATA l_ erro r_ code.


FATAL_ERROR_DESCRIPTION

public static java.lang.String FATAL_ERROR_DESCRIPTION
The FATA l_ erro r_ description.

Constructor Detail

FatalError

public FatalError(java.lang.Object errorObject,
                  java.lang.Exception exception)
Instantiates a new fatal error.

Parameters:
errorObject - the error object
exception - the exception
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

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.