Class CohQLException

  • All Implemented Interfaces:
    Serializable

    public class CohQLException
    extends RuntimeException
    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:
    Serialized Form
    • Constructor Detail

      • CohQLException

        public CohQLException​(String sMessage)
        Construct a new exception with the specified detail message.
        Parameters:
        sMessage - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method
      • CohQLException

        public CohQLException​(String sMessage,
                              Throwable t)
        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 the Throwable.getMessage() method)
        t - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown)