Modified to throw a new exception if the exectuion of an execute method fails