ilog.rules.factory

Class IlrTryCatchFinallyStatement.CatchBlock

  • All Implemented Interfaces:
    ilog.rules.factory.IlrSourceElement, IlrStatement, java.io.Serializable
    Enclosing class:
    IlrTryCatchFinallyStatement


    public static final class IlrTryCatchFinallyStatement.CatchBlock
    extends IlrStatementBlock
    This class represents the catch part of a try - catch - finally statement.

    Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short-term storage or RMI between applications running the same version of IBM Decision Server.

    See Also:
    Serialized Form
    • Constructor Detail

      • IlrTryCatchFinallyStatement.CatchBlock

        public IlrTryCatchFinallyStatement.CatchBlock(IlrVariable variable,
                                              IlrStatement[] statements)
        Constructs a catch block containing initially the statements given in the array statements.
        Parameters:
        variable - The variable that represents the exception object caught by this catch clause.
        statements - The statements to execute when the test is false. This parameter can be null; in this case, it represents an empty block.
    • Method Detail

      • getVariable

        public IlrVariable getVariable()
        Returns the variable that represents the exception caught by this catch clause.
        Returns:
        The variable that models the caught exception.

© Copyright IBM Corp. 1987, 2017