Class ExitException

  • All Implemented Interfaces:
    Serializable

    public class ExitException
    extends OperationException
    Throw it from an operation to interrupt a chain execution. The chain terminates silently (without throwing an exception) and the output object is returned as the chain output.

    Also, you can set the rollback argument to true to rollback the current transaction.

    Author:
    Bogdan Stefanescu
    See Also:
    Serialized Form
    • Field Detail

      • output

        protected Object output
    • Constructor Detail

      • ExitException

        public ExitException()
      • ExitException

        public ExitException​(Object output)
      • ExitException

        public ExitException​(Object output,
                             boolean rollback)