Problem.
| Modifier and Type | Field and Description |
|---|---|
| private String[] | arguments
A list of arguments that can be used to complete the message or an empty list if no additional information is necessary. |
| private String | messageKey
The key used to retrieve the localized message describing the problem found with the current
state of this |
| private StateObject | stateObject
The location where the problem was found. |
| Access | Constructor and Description |
|---|---|
| public | DefaultProblem(StateObject
The stateObject, String StateObject where the problem was foundThe key used to retrieve the localized message describing the problem found
with the current state of this messageKey, String[] StateObjectA list of arguments that can be used to complete the message or an empty list
if no additional information is necessary arguments)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | getMessageArguments()
Implements org. |
| public String | getMessageKey()
Implements org. StateObject.
|
| public StateObject | getStateObject()
Implements org. StateObject where the problem was found.
|
| public String |
| arguments | back to summary |
|---|---|
| private String[] arguments A list of arguments that can be used to complete the message or an empty list if no additional information is necessary. | |
| messageKey | back to summary |
|---|---|
| private String messageKey The key used to retrieve the localized message describing the problem found with the current
state of this | |
| stateObject | back to summary |
|---|---|
| private StateObject stateObject The location where the problem was found. | |
| DefaultProblem | back to summary |
|---|---|
| public DefaultProblem(StateObject stateObject, String messageKey, String[] arguments) Creates a new
| |
| getMessageArguments | back to summary |
|---|---|
| public String[] getMessageArguments() Implements org. Doc from org. Returns the arguments associate with the problem's message. | |
| getMessageKey | back to summary |
|---|---|
| public String getMessageKey() Implements org. Doc from org. Returns the key used to retrieve the localized message describing the problem found in the
| |
| getStateObject | back to summary |
|---|---|
| public StateObject getStateObject() Implements org. Doc from org. Returns the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |