| Constructor and Description |
|---|
DefaultProblem(StateObject stateObject,
String messageKey,
String[] arguments)
Creates a new
DefaultProblem. |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getMessageArguments()
Returns the arguments associate with the problem's message.
|
String |
getMessageKey()
Returns the key used to retrieve the localized message describing the problem found in the
StateObject. |
StateObject |
getStateObject()
Returns the
StateObject where the problem was found. |
String |
toString() |
public DefaultProblem(StateObject stateObject, String messageKey, String[] arguments)
DefaultProblem.stateObject - The StateObject where the problem was foundmessageKey - The key used to retrieve the localized message describing the problem found
with the current state of this StateObjectarguments - A list of arguments that can be used to complete the message or an empty list
if no additional information is necessarypublic String[] getMessageArguments()
getMessageArguments in interface Problemnull list of arguments that can be used to format the localized
messagepublic String getMessageKey()
StateObject.getMessageKey in interface Problempublic StateObject getStateObject()
StateObject where the problem was found.getStateObject in interface ProblemStateObject where the problem was foundCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.