|
IMC Epclient 5.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
at.spardat.enterprise.exc.BaseException
at.spardat.enterprise.exc.SysException
This class is used to throw system-level exceptions. System-exceptions inform the outside world from abnormal conditions that are caused by the system, for example network-failures or failures with database connections. The most common subcategories are:
AppExceptions are
the following properties:
| Field Summary |
| Fields inherited from class at.spardat.enterprise.exc.BaseException |
notification_, showToEndUser_ |
| Fields inherited from interface at.spardat.enterprise.exc.INotification |
R_ABORT, R_ABORT_RETRY_IGNORE, R_CANCEL, R_IGNORE, R_NO, R_OK, R_OK_CANCEL, R_RETRY, R_RETRY_CANCEL, R_YES, R_YES_NO, R_YES_NO_CANCEL, T_ERROR, T_INFORMATION, T_QUESTION, T_WARNING |
| Constructor Summary | |
SysException(java.lang.String message)
Constructs and sets the message to the provided value. |
|
SysException(java.lang.String messageFmt,
java.lang.Object param1)
Constructs and sets the message of this from a one parameter java.text.MessageFormat compatible string. |
|
SysException(java.lang.String messageFmt,
java.lang.Object[] params)
Constructs and sets the message of this from a two parameter java.text.MessageFormat compatible string. |
|
SysException(java.lang.String messageFmt,
java.lang.Object param1,
java.lang.Object param2)
Constructs and sets the message of this from a two parameter java.text.MessageFormat compatible string. |
|
SysException(java.lang.Throwable detail)
Constructs with a detail exception and an empty message. |
|
SysException(java.lang.Throwable detail,
java.lang.String message)
Constructs and sets the message and the detail exception to the provided value. |
|
SysException(java.lang.Throwable detail,
java.lang.String messageFmt,
java.lang.Object param1)
Constructs and sets the message of this from a one parameter java.text.MessageFormat compatible string. |
|
SysException(java.lang.Throwable detail,
java.lang.String messageFmt,
java.lang.Object[] params)
Constructs and sets the message of this from a one parameter java.text.MessageFormat compatible string. |
|
SysException(java.lang.Throwable detail,
java.lang.String messageFmt,
java.lang.Object param1,
java.lang.Object param2)
Constructs and sets the message of this from a two parameter java.text.MessageFormat compatible string. |
|
| Method Summary | |
SysException |
setCode(int code)
Sets the code. |
SysException |
setReaction(int reaction)
Sets one or a bit-or combination of the reaction constants of INotification. |
SysException |
setShortMessage(java.lang.String shortMessage)
Sets the short message. |
SysException |
setShowToEndUser(boolean what)
Sets if this exception may be directly displayed to the end user or not. |
SysException |
setType(int type)
Sets the type which may be one of the T_-constants in INotification. |
| Methods inherited from class at.spardat.enterprise.exc.BaseException |
containsCode, getCode, getDetail, getFirstNonEmptyMessage, getMessage, getMessage, getOwnStackTrace, getReaction, getShortMessage, getStackOfThis, getType, prepareMigration, printStackTrace, printStackTrace, printStackTrace, setMessage, setMessage, setMessage, showToEndUser, toString, truncateSubclasses |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SysException(java.lang.String messageFmt,
java.lang.Object[] params)
messageFmt - format string as defined in java.text.MessageFormat.params - the message parameters
public SysException(java.lang.String messageFmt,
java.lang.Object param1,
java.lang.Object param2)
messageFmt - format string as defined in java.text.MessageFormat.param1 - first message parameterparam2 - second message parameter
public SysException(java.lang.String messageFmt,
java.lang.Object param1)
messageFmt - format string as defined in java.text.MessageFormat.param1 - message parameterpublic SysException(java.lang.String message)
message - text to set
public SysException(java.lang.Throwable detail,
java.lang.String message)
detail - the detail throwable to set.message - message to setpublic SysException(java.lang.Throwable detail)
detail - the detail throwable to set.
public SysException(java.lang.Throwable detail,
java.lang.String messageFmt,
java.lang.Object param1,
java.lang.Object param2)
detail - the detail throwable.messageFmt - format string as defined in java.text.MessageFormat.param1 - first message parameterparam2 - second message parameter
public SysException(java.lang.Throwable detail,
java.lang.String messageFmt,
java.lang.Object param1)
detail - detail throwable.messageFmt - format string as defined in java.text.MessageFormat.param1 - message parameter
public SysException(java.lang.Throwable detail,
java.lang.String messageFmt,
java.lang.Object[] params)
detail - detail throwable.messageFmt - format string as defined in java.text.MessageFormat.params - the message parameters| Method Detail |
public SysException setCode(int code)
INotificationpublic SysException setReaction(int reaction)
INotification.getReaction()public SysException setShortMessage(java.lang.String shortMessage)
INotification.getShortMessage()public SysException setType(int type)
INotification.
INotification.getType()public SysException setShowToEndUser(boolean what)
|
IMC Epclient 5.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||