public class DuraCloudCheckedException extends Exception implements MessageFormattable
| Constructor and Description |
|---|
DuraCloudCheckedException() |
DuraCloudCheckedException(String message) |
DuraCloudCheckedException(String message,
String key) |
DuraCloudCheckedException(String message,
Throwable throwable) |
DuraCloudCheckedException(String message,
Throwable throwable,
String key) |
DuraCloudCheckedException(Throwable throwable) |
DuraCloudCheckedException(Throwable throwable,
String key) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getArgs()
This method returns the args that act as variables in the message.
|
String |
getFormattedMessage()
This method returns the message which includes the arg elements.
|
String |
getKey()
This method returns the message key used as an index in the ResourceBundle.
|
void |
setArgs(String... args)
This method sets the arg variables that are placed in the message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DuraCloudCheckedException()
public DuraCloudCheckedException(String message)
public DuraCloudCheckedException(String message, Throwable throwable, String key)
public DuraCloudCheckedException(Throwable throwable)
public String getKey()
MessageFormattablegetKey in interface MessageFormattablepublic String[] getArgs()
MessageFormattablegetArgs in interface MessageFormattablepublic void setArgs(String... args)
MessageFormattablesetArgs in interface MessageFormattableargs - list of elements to be placed in messagepublic String getFormattedMessage()
MessageFormattablegetFormattedMessage in interface MessageFormattableCopyright © 2009–2019 DuraSpace. All rights reserved.