|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.xcap.XcapException
public class XcapException
XCAP Exception Class
Constructor Summary | |
---|---|
XcapException()
Constructs a new XCAP exception |
|
XcapException(java.lang.String message)
Constructs a new XCAP exception with the specified message |
|
XcapException(java.lang.String message,
java.lang.Throwable rootCause)
Constructs a new XCAP exception when the XCAP needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation, including a description message |
|
XcapException(java.lang.Throwable rootCause)
Constructs a new XCAP exception when the XCAP needs to throw an exception and include a message about the "root cause" exception that interfered with its normal operation. |
Method Summary | |
---|---|
static java.lang.String |
createLocalizedMessage(java.lang.String messageKey,
java.lang.Object[] params,
java.lang.String resourceBundle)
Creates a localized message. |
static XcapException |
createLocalizedXCAPException(java.lang.String messageKey,
java.lang.Object[] params,
java.lang.String resourceBundle,
java.lang.Throwable rootCause)
Creates an XCAPException with a localized message. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, 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 |
Constructor Detail |
---|
public XcapException()
public XcapException(java.lang.String message)
message
- a String
specifying the text of the
exception messagepublic XcapException(java.lang.String message, java.lang.Throwable rootCause)
message
- a String
specifying the text of the
exception messagerootCause
- the Throwable
exception that interfered
with the XCAP's normal operation, making this XCAP exception
necessarypublic XcapException(java.lang.Throwable rootCause)
rootCause
- the Throwable
exception that interfered
with the XCAP's normal operation, making this XCAP exception
necessaryMethod Detail |
---|
public static XcapException createLocalizedXCAPException(java.lang.String messageKey, java.lang.Object[] params, java.lang.String resourceBundle, java.lang.Throwable rootCause)
XCAPException(String message, Throwable rootCause)
XCAPException(String message)
messageKey
- Message Key for the message in the resource bundleparams
- Optional array of parameters, pass null
if
there are noneresourceBundle
- Resource Bundle to retreive the message fromrootCause
- the Throwable
exception that interfered
with the XCAP's normal operation, making this XCAP exception
necessary
XcapException(String, Throwable)
,
XcapException(String)
public static java.lang.String createLocalizedMessage(java.lang.String messageKey, java.lang.Object[] params, java.lang.String resourceBundle)
messageKey
- Message Key for the message in the resource bundleparams
- Optional array of parameters, pass null
if
there are noneresourceBundle
- Resource Bundle to retreive the message from
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |