/** * Execute the main logic. * * @param delegate Functional delegate interface. * @return ConsentInterceptorTemplate. * @throws X Generic exception thrown. If any. */ public ConsentInterceptorTemplate<T, X> executeWith(OperationDelegate<T> delegate) throws X { result = delegate.execute(); return this; }