|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.webmethods.caf.wsclient.WSClientException
public class WSClientException
General exception for the WSClient library
Field Summary | |
---|---|
static String |
RES_BNDL_NAME
Bundle class name for lookup of localizable exception strings |
protected static long |
serialVersionUID
|
Constructor Summary | |
---|---|
WSClientException()
|
|
WSClientException(ResourceBundle resourceBundle,
String key)
Create a new WSClientException with a message populated by a key lookup in a resource bundle |
|
WSClientException(ResourceBundle resourceBundle,
String key,
Object[] args)
Create a new WSClientException wrapping another Exception, containing a message populated by a key lookup in a resource bundle |
|
WSClientException(ResourceBundle resourceBundle,
String key,
Object[] args,
Throwable throwable)
Create a new WSClientException wrapping another Exception, containing a message populated by a key lookup in a resource bundle |
|
WSClientException(ResourceBundle resourceBundle,
String key,
Throwable throwable)
Create a new WSClientException wrapping another Exception, containing a message populated by a key lookup in a resource bundle |
|
WSClientException(Throwable cause)
Create a new WSClientException wrapping some other Exception |
Method Summary | |
---|---|
static ResourceBundle |
getDefaultResourceBundle()
Get the resource bundle used to lookup localized exception strings |
String |
getMessage()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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 static final long serialVersionUID
public static final String RES_BNDL_NAME
Constructor Detail |
---|
public WSClientException()
public WSClientException(Throwable cause)
cause
- the other Exception to wrap with a WSClientExceptionpublic WSClientException(ResourceBundle resourceBundle, String key)
resourceBundle
- The resource bundle containing a lookup value for the resource keykey
- the key to lookup in the resource bundlepublic WSClientException(ResourceBundle resourceBundle, String key, Throwable throwable)
resourceBundle
- The resource bundle containing a lookup value for the resource keykey
- the key to lookup in the resource bundlethrowable
- the Exception to wrap with a WSClientExceptionpublic WSClientException(ResourceBundle resourceBundle, String key, Object[] args)
resourceBundle
- The resource bundle containing a lookup value for the resource keykey
- the key to lookup in the resource bundleargs
- the string substitution arguments for the exception messagepublic WSClientException(ResourceBundle resourceBundle, String key, Object[] args, Throwable throwable)
resourceBundle
- The resource bundle containing a lookup value for the resource keykey
- the key to lookup in the resource bundleargs
- the string substitution arguments for the exception messagethrowable
- the other Exception to wrap with a WSClientExceptionMethod Detail |
---|
public static ResourceBundle getDefaultResourceBundle()
public String getMessage()
getMessage
in class Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |