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.
- Since:
- 2.4
- Version:
- 2.4
-
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns the arguments associate with the problem's message.Returns the key used to retrieve the localized message describing the problem found in theStateObject
.Returns theStateObject
where the problem was found.
-
Method Details
-
getMessageArguments
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
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
-