|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexevs.dao.database.service.error.DefaultDatabaseError
public class DefaultDatabaseError
The Class DefaultDatabaseError.
Field Summary |
---|
Fields inherited from interface org.lexevs.dao.database.service.error.DatabaseError |
---|
UNKNOWN_ERROR_CODE |
Constructor Summary | |
---|---|
DefaultDatabaseError(java.lang.String errorCode,
java.lang.Object errorObject,
java.lang.Exception errorException)
Instantiates a new default database error. |
|
DefaultDatabaseError(java.lang.String errorCode,
java.lang.Object errorObject,
java.lang.String errorDescription,
java.lang.Exception errorException)
|
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. |
protected java.lang.String |
getErrorObjectDescription()
Gets the error object description. |
java.util.Date |
getErrorTime()
Gets the error time. |
java.lang.String |
getUniqueErrorId()
Gets the unique error id. |
boolean |
isDebug()
|
void |
setDebug(boolean debug)
|
void |
setErrorException(java.lang.Exception errorException)
Sets the error exception. |
void |
setErrorObject(java.lang.Object errorObject)
Sets the error object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultDatabaseError(java.lang.String errorCode, java.lang.Object errorObject, java.lang.Exception errorException)
errorObject
- the error objecterrorException
- the error exceptionpublic DefaultDatabaseError(java.lang.String errorCode, java.lang.Object errorObject, java.lang.String errorDescription, java.lang.Exception errorException)
Method Detail |
---|
public java.lang.String getErrorMessage()
getErrorMessage
in interface DatabaseError
protected java.lang.String getErrorObjectDescription()
public java.lang.String getErrorDescription()
getErrorDescription
in interface DatabaseError
public java.lang.String getUniqueErrorId()
getUniqueErrorId
in interface DatabaseError
public java.lang.Object getErrorObject()
DatabaseError
getErrorObject
in interface DatabaseError
public void setErrorObject(java.lang.Object errorObject)
errorObject
- the new error objectpublic java.lang.Exception getErrorException()
DatabaseError
getErrorException
in interface DatabaseError
public void setErrorException(java.lang.Exception errorException)
errorException
- the new error exceptionpublic java.util.Date getErrorTime()
DatabaseError
getErrorTime
in interface DatabaseError
public java.lang.String getErrorCode()
DatabaseError
getErrorCode
in interface DatabaseError
public boolean isDebug()
public void setDebug(boolean debug)
|
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. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |