public class DuraCloudExceptionCore extends Object implements MessageFormattable, Serializable
| Constructor and Description |
|---|
DuraCloudExceptionCore() |
DuraCloudExceptionCore(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.
|
public DuraCloudExceptionCore()
public DuraCloudExceptionCore(String key)
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–2016 DuraSpace. All rights reserved.