Package com.tangosol.coherence.dslquery
Class CohQLException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tangosol.coherence.dslquery.CohQLException
- All Implemented Interfaces:
Serializable
An exception thrown when errors occur building CohQL queries.
This exception would usually signify that a CohQL statement has
been executed with the incorrect syntax.
- Since:
- Coherence 12.2.1
- Author:
- jk 2013.12.09
- See Also:
-
Constructor Summary
ConstructorDescriptionCohQLException
(String sMessage) Construct a new exception with the specified detail message.CohQLException
(String sMessage, Throwable t) Construct a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CohQLException
Construct a new exception with the specified detail message.- Parameters:
sMessage
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method
-
CohQLException
Construct a new exception with the specified detail message and cause.Note that the detail message associated with
cause
is not automatically incorporated in this exception's detail message.- Parameters:
sMessage
- the detail message (which is saved for later retrieval by theThrowable.getMessage()
method)t
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown)
-