Class QuerySyntaxException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ametys.cms.search.query.QuerySyntaxException
All Implemented Interfaces:
Serializable

public class QuerySyntaxException extends Exception
Thrown when the query syntax is invalid.
See Also:
  • Field Details

  • Constructor Details

    • QuerySyntaxException

      public QuerySyntaxException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message.
    • QuerySyntaxException

      public QuerySyntaxException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - the detail message.
      cause - the cause.
    • QuerySyntaxException

      Constructs a new exception with the specified cause.
      Parameters:
      cause - the specified cause.
    • QuerySyntaxException

      public QuerySyntaxException(String message, I18nizableText i18nMessage)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the detail message.
      i18nMessage - the internationalized detail message.
    • QuerySyntaxException

      public QuerySyntaxException(String message, Throwable cause, I18nizableText i18nMessage)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - the detail message.
      cause - the cause.
      i18nMessage - the internationalized detail message.
    • QuerySyntaxException

      public QuerySyntaxException(Throwable cause, I18nizableText i18nMessage)
      Constructs a new exception with the specified cause.
      Parameters:
      cause - the specified cause.
      i18nMessage - the internationalized detail message.
  • Method Details

    • getI18nMessage

      Get the internationalized detail message.
      Returns:
      the internationalized detail message.