Class SqlThrowOperator


  • public class SqlThrowOperator
    extends SqlSpecialOperator
    An internal operator that throws an exception.

    The exception is thrown with a (localized) error message which is the only input parameter to the operator.

    The return type is defined as a BOOLEAN to facilitate the use of it in constructs such as the following:

    CASE
    WHEN <conditionn> THEN true
    ELSE throw("what's wrong with you man?")
    END