Package org.ametys.cms.search.query
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:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected I18nizableText_i18nMessageAn internationalized detail message.
 - 
Constructor SummaryConstructors Constructor Description QuerySyntaxException(String message)Constructs a new exception with the specified detail message.QuerySyntaxException(String message, Throwable cause)Constructs a new exception with the specified detail message and cause.QuerySyntaxException(String message, Throwable cause, I18nizableText i18nMessage)Constructs a new exception with the specified detail message and cause.QuerySyntaxException(String message, I18nizableText i18nMessage)Constructs a new exception with the specified detail message.QuerySyntaxException(Throwable cause)Constructs a new exception with the specified cause.QuerySyntaxException(Throwable cause, I18nizableText i18nMessage)Constructs a new exception with the specified cause.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description I18nizableTextgetI18nMessage()Get the internationalized detail message.- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Field Detail- 
_i18nMessageprotected I18nizableText _i18nMessage An internationalized detail message.
 
- 
 - 
Constructor Detail- 
QuerySyntaxExceptionpublic QuerySyntaxException(String message) Constructs a new exception with the specified detail message.- Parameters:
- message- the detail message.
 
 - 
QuerySyntaxExceptionpublic QuerySyntaxException(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.- Parameters:
- message- the detail message.
- cause- the cause.
 
 - 
QuerySyntaxExceptionpublic QuerySyntaxException(Throwable cause) Constructs a new exception with the specified cause.- Parameters:
- cause- the specified cause.
 
 - 
QuerySyntaxExceptionpublic QuerySyntaxException(String message, I18nizableText i18nMessage) Constructs a new exception with the specified detail message.- Parameters:
- message- the detail message.
- i18nMessage- the internationalized detail message.
 
 - 
QuerySyntaxExceptionpublic 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.
 
 - 
QuerySyntaxExceptionpublic QuerySyntaxException(Throwable cause, I18nizableText i18nMessage) Constructs a new exception with the specified cause.- Parameters:
- cause- the specified cause.
- i18nMessage- the internationalized detail message.
 
 
- 
 - 
Method Detail- 
getI18nMessagepublic I18nizableText getI18nMessage() Get the internationalized detail message.- Returns:
- the internationalized detail message.
 
 
- 
 
-