Interface Problem
-
- All Known Implementing Classes:
DefaultProblem
public interface ProblemA 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.StringgetMessageKey()Returns the key used to retrieve the localized message describing the problem found in theStateObject.StateObjectgetStateObject()Returns theStateObjectwhere the problem was found.
-
-
-
Method Detail
-
getMessageArguments
java.lang.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
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 theStateObjectwhere the problem was found.- Returns:
- The
StateObjectwhere the problem was found
-
-