|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.opensync.tools.exception.OpenSyncException
Catch AssetPlus specific Exceptions
| Field Summary | |
protected java.lang.String |
errorCode
|
protected java.lang.String |
errorMsg
|
protected java.lang.String |
usrMsg
|
| Fields inherited from class java.lang.Exception |
|
| Constructor Summary | |
OpenSyncException(java.lang.String errorCode)
Creates an APException class with the error code. |
|
OpenSyncException(java.lang.String errorCode,
java.lang.Throwable cause)
|
|
OpenSyncException(java.lang.Throwable cause)
Creates an APException class with the error code. |
|
| Method Summary | |
void |
action()
default action method. |
java.lang.Throwable |
getCause()
|
java.lang.String |
getCode()
Returns the error code. |
java.lang.String |
getUserMessage(java.lang.String errorCode,
java.lang.String lang)
Returns the user message associated with this error. |
void |
log()
default action method. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String errorCode
protected java.lang.String errorMsg
protected java.lang.String usrMsg
| Constructor Detail |
public OpenSyncException(java.lang.String errorCode)
errorCode - Error code for which this exception was generated.
public OpenSyncException(java.lang.String errorCode,
java.lang.Throwable cause)
public OpenSyncException(java.lang.Throwable cause)
| Method Detail |
public java.lang.String getCode()
public java.lang.Throwable getCause()
public java.lang.String getUserMessage(java.lang.String errorCode,
java.lang.String lang)
public void log()
public void action()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||