public class WSClientException extends RuntimeException
Modifier and Type | Field and Description |
---|---|
static String |
RES_BNDL_NAME
Bundle class name for lookup of localizable exception strings
|
protected static long |
serialVersionUID |
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
static ResourceBundle |
getDefaultResourceBundle()
Get the resource bundle used to lookup localized exception strings
|
String |
getMessage() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected static final long serialVersionUID
public static final String RES_BNDL_NAME
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 WSClientExceptionpublic static ResourceBundle getDefaultResourceBundle()
public String getMessage()
getMessage
in class Throwable