Interface Problem
-
- All Known Implementing Classes:
DefaultProblem
public interface Problem
A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.- Version:
- 2.4
- Author:
- Pascal Filion
- Since:
- 2.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
getMessageArguments()
Returns the arguments associate with the problem's message.java.lang.String
getMessageKey()
Returns the key used to retrieve the localized message describing the problem found in theStateObject
.StateObject
getStateObject()
Returns theStateObject
where the problem was found.
-
-
-
Method Detail
-
getMessageArguments
java.lang.String[] getMessageArguments()
Returns the arguments associate with the problem's message.- Returns:
- A non-
null
list of arguments that can be used to format the localized message
-
getMessageKey
java.lang.String getMessageKey()
Returns the key used to retrieve the localized message describing the problem found in theStateObject
.- Returns:
- The key used to retrieve the localized message
-
getStateObject
StateObject getStateObject()
Returns theStateObject
where the problem was found.- Returns:
- The
StateObject
where the problem was found
-
-