Org.Openengsb.Loom.CSharp.Bridge.Interface.ExceptionHandling.ABridgeExceptionHandling.Invoke C# (CSharp) Method

Invoke() protected method

Invokes the method, that triggered the exception again
protected Invoke ( Object obj ) : Object
obj Object (Failed) Method parameter
return Object
        protected Object Invoke(Object[] obj)
        {
            if (Stop)
            {
                throw new InvalidOperationException("The Exceptionhandler has been stopped manually");
            }

            if (Changed == null)
            {
                throw new InvalidOperationException("An exception occured without a mehtod call");
            }

            return Changed.Invoke(obj);
        }