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
Thrown when the query syntax is invalid.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionQuerySyntaxException
(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
Modifier and TypeMethodDescriptionGet 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 Details
-
_i18nMessage
An internationalized detail message.
-
-
Constructor Details
-
QuerySyntaxException
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.
-
QuerySyntaxException
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
Constructs a new exception with the specified detail message.- Parameters:
message
- the detail message.i18nMessage
- the internationalized detail message.
-
QuerySyntaxException
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
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.
-