Class ExceptionHandler

java.lang.Object
hudson.scm.api.ExceptionHandler

public class ExceptionHandler extends Object
  • Constructor Details

    • ExceptionHandler

      public ExceptionHandler(com.mks.api.response.APIException ex)
      Constructor requires a single APIException to debug
      Parameters:
      ex - APIException
  • Method Details

    • getMessage

      public String getMessage()
      Returns the Message obtained from the APIException
      Returns:
      message APIException String
    • getCommand

      public 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