|
Oracle® Collaboration Suite Workspaces API Reference 10g Release 1 (10.1.2) B25479-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.workspaces.CwException
TODO: make it abstract
Field Summary | |
static java.lang.String |
CWEXCEPTION_RESOURCE_BUNDLE_BASE_NAME The base class name for resource bundle |
Constructor Summary | |
CwException(int exCode) Class constructor. |
|
CwException(int exCode, java.lang.Object arg1) Class constructor. |
|
CwException(int exCode, java.lang.Object arg1, java.lang.Object arg2) Class constructor. |
|
CwException(int exCode, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3) Class constructor. |
|
CwException(int exCode, java.lang.Throwable e) Class constructor. |
|
CwException(int exCode, java.lang.Throwable e, java.lang.Object arg1) Class constructor. |
|
CwException(int exCode, java.lang.Throwable e, java.lang.Object[] args) Class constructor. |
|
CwException(int exCode, java.lang.Throwable e, java.lang.Object arg1, java.lang.Object arg2) Class constructor. |
|
CwException(int exCode, java.lang.Throwable e, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3) Class constructor. |
|
CwException(java.lang.Throwable e) Class constructor. |
Method Summary | |
void |
addAdditionalException(java.lang.Throwable t) Add additional exceptions |
int |
getErrorCode() Get the error code |
java.lang.String |
getLocalizedMessage() Gets the localized message with the default locale |
java.lang.String |
getLocalizedMessage(java.util.Locale l) Gets the localized message with the specified locale |
java.lang.String |
getMessage() Returns the message associated to this Exception using the default locale. |
boolean |
isRecoveryNeeded() Singaling that the operation reuslts in an inconsistent state. |
java.lang.Throwable[] |
listAdditionalExceptions() List all additional exceptions |
void |
printStackTrace() Print stack trace to the errorstream |
void |
printStackTrace(java.io.PrintStream s) Print stack trace to specified stream |
void |
printStackTrace(java.io.PrintWriter pw) Print stack trace to specified stream |
void |
setRecoveryNeeded(boolean recoveryNeeded) Sets recovery needed |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String CWEXCEPTION_RESOURCE_BUNDLE_BASE_NAME
Constructor Detail |
public CwException(int exCode)
exCode
- exception code used as a key by the resource bundle to get the exception message.public CwException(int exCode, java.lang.Object arg1)
exCode
- exception code used as a key by the resource bundle to get the exception message.arg1
- object that will be used as the first and only argument in the exception message.public CwException(int exCode, java.lang.Object arg1, java.lang.Object arg2)
exCode
- exception code used as a key by the resource bundle to get the exception message.arg1
- object that will be used as the first argument in the exception message.arg2
- object that will be used as the second argument in the exception message.public CwException(int exCode, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
exCode
- exception code used as a key by the resource bundle to get the exception message.arg1
- object that will be used as the first argument in the exception message.arg2
- object that will be used as the second argument in the exception message.arg3
- object that will be used as the thrid argument in the exception message.public CwException(int exCode, java.lang.Throwable e)
exCode
- exception code used as a key by the resource bundle to get the exception message.e
- actual exceptionpublic CwException(int exCode, java.lang.Throwable e, java.lang.Object arg1)
exCode
- exception code used as a key by the resource bundle to get the exception message.e
- actual exceptionarg1
- object that will be used as the first and only argument in the exception message.public CwException(int exCode, java.lang.Throwable e, java.lang.Object[] args)
exCode
- exception code used as a key by the resource bundle to get the exception message.e
- actual exceptionargs
- object list that will be used as arguments in the exception message.public CwException(int exCode, java.lang.Throwable e, java.lang.Object arg1, java.lang.Object arg2)
exCode
- exception code used as a key by the resource bundle to get the exception message.e
- actual exceptionarg1
- object that will be used as the first argument in the exception message.arg2
- object that will be used as the second argument in the exception message.public CwException(int exCode, java.lang.Throwable e, java.lang.Object arg1, java.lang.Object arg2, java.lang.Object arg3)
exCode
- exception code used as a key by the resource bundle to get the exception message.e
- actual exceptionarg1
- object that will be used as the first argument in the exception message.arg2
- object that will be used as the second argument in the exception message.arg3
- object that will be used as the thrid argument in the exception message.public CwException(java.lang.Throwable e)
Method Detail |
public void addAdditionalException(java.lang.Throwable t)
public int getErrorCode()
public java.lang.String getLocalizedMessage()
public java.lang.String getLocalizedMessage(java.util.Locale l)
public java.lang.String getMessage()
public boolean isRecoveryNeeded()
public java.lang.Throwable[] listAdditionalExceptions()
public void printStackTrace()
public void printStackTrace(java.io.PrintStream s)
public void printStackTrace(java.io.PrintWriter pw)
public void setRecoveryNeeded(boolean recoveryNeeded)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |