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 theStateObjectwhere the problem was found.
-
Method Details
-
getMessageArguments
String[] getMessageArguments()Returns the arguments associate with the problem's message.- Returns:
- A non-
nulllist 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 theStateObjectwhere the problem was found.- Returns:
- The
StateObjectwhere the problem was found
-