Remove ExceptionInParsingArguments

This exception does not appear to be used anywhere.

Change-Id: I1fb5380c4e00bc54a8ecc2fc0fca3d059923909a
This commit is contained in:
Eric Harney 2018-03-12 17:02:10 -04:00
parent afecba3b95
commit 1876e80143
2 changed files with 1 additions and 5 deletions

View File

@ -1336,10 +1336,6 @@ class ErrorInHyperScaleVersion(VolumeDriverException):
message = _("Error in getting HyperScale version '%(cmd_error)s'")
class ErrorInParsingArguments(VolumeDriverException):
message = _("Error in parsing message arguments : Invalid Payload")
# GPFS driver
class GPFSDriverUnsupportedOperation(VolumeBackendAPIException):
message = _("GPFS driver unsupported operation: %(msg)s")

View File

@ -228,7 +228,7 @@ def hsexecute(cmdarg_json):
cmdarg_json,
run_as_root=True)
except (putils.UnknownArgumentError, putils.ProcessExecutionError,
exception.ErrorInParsingArguments, OSError):
OSError):
LOG.error("Exception in running the command for %s",
cmdarg_json,
exc_info=True)