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 Summary
Fields Modifier and Type Field Description protected I18nizableText
_i18nMessage
An internationalized detail message.
-
Constructor Summary
Constructors 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I18nizableText
getI18nMessage()
Get the internationalized detail message.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
_i18nMessage
protected I18nizableText _i18nMessage
An internationalized detail message.
-
-
Constructor Detail
-
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
public QuerySyntaxException(Throwable cause)
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 Detail
-
getI18nMessage
public I18nizableText getI18nMessage()
Get the internationalized detail message.- Returns:
- the internationalized detail message.
-
-