Class InvalidQueryException

All Implemented Interfaces:
Serializable

public class InvalidQueryException extends FessSystemException
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 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 messages
      message - the detailed error message
      cause - 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 messages
      message - 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