Package org.codelibs.fess.exception
Class InvalidQueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codelibs.fess.exception.FessSystemException
org.codelibs.fess.exception.InvalidQueryException
- All Implemented Interfaces:
Serializable
Exception thrown when an invalid query is encountered.
This exception is typically used in search contexts where a provided
query is malformed, contains invalid syntax, or violates query constraints.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidQueryException(org.lastaflute.web.validation.VaMessenger<org.codelibs.fess.mylasta.action.FessMessages> messageCode, String message) Creates a new InvalidQueryException with message code and message.InvalidQueryException(org.lastaflute.web.validation.VaMessenger<org.codelibs.fess.mylasta.action.FessMessages> messageCode, String message, Throwable cause) Creates a new InvalidQueryException with message code, message, and cause. -
Method Summary
Modifier and TypeMethodDescriptionorg.lastaflute.web.validation.VaMessenger<org.codelibs.fess.mylasta.action.FessMessages> Returns the message code for localized error messages.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidQueryException
public InvalidQueryException(org.lastaflute.web.validation.VaMessenger<org.codelibs.fess.mylasta.action.FessMessages> messageCode, String message, Throwable cause) Creates a new InvalidQueryException with message code, message, and cause.- Parameters:
messageCode- the message code for localized error messagesmessage- the detailed error messagecause- the cause of the exception
-
InvalidQueryException
public InvalidQueryException(org.lastaflute.web.validation.VaMessenger<org.codelibs.fess.mylasta.action.FessMessages> messageCode, String message) Creates a new InvalidQueryException with message code and message.- Parameters:
messageCode- the message code for localized error messagesmessage- the detailed error message
-
-
Method Details
-
getMessageCode
public org.lastaflute.web.validation.VaMessenger<org.codelibs.fess.mylasta.action.FessMessages> getMessageCode()Returns the message code for localized error messages.- Returns:
- the message code
-