Package hudson.scm.api
Class ExceptionHandler
java.lang.Object
hudson.scm.api.ExceptionHandler
-
Constructor Summary
ConstructorsConstructorDescriptionExceptionHandler(com.mks.api.response.APIException ex) Constructor requires a single APIException to debug -
Method Summary
Modifier and TypeMethodDescriptionReturns the executed command that caused the exceptionintReturns the exit codes associated with executing the commandReturns the Message obtained from the APIException
-
Constructor Details
-
ExceptionHandler
public ExceptionHandler(com.mks.api.response.APIException ex) Constructor requires a single APIException to debug- Parameters:
ex- APIException
-
-
Method Details
-
getMessage
Returns the Message obtained from the APIException- Returns:
- message APIException String
-
getCommand
Returns the executed command that caused the exception- Returns:
- command Complete CLI Command String
-
getExitCode
public int getExitCode()Returns the exit codes associated with executing the command- Returns:
- exitCode API/CLI Exit Code
-