/**
  * Executes an Vws command.
  *
  * @param CommandInterface $command Command to execute
  *
  * @return mixed Returns the result of the command
  *
  * @throws VwsException when an error occurs during transfer
  */
 public function execute(CommandInterface $command)
 {
     try {
         return parent::execute($command);
     } catch (VwsException $e) {
         throw $e;
     } catch (\Exception $e) {
         // Wrap other uncaught exceptions for consistency
         $exceptionClass = $this->commandException;
         throw new $exceptionClass(sprintf('Uncaught exception while executing %s::%s - %s', get_class($this), $command->getName(), $e->getMessage()), new CommandTransaction($this, $command), $e);
     }
 }