public class ExceptionHandler extends Object
Constructor and Description |
---|
ExceptionHandler(com.mks.api.response.APIException ex)
Constructor requires a single APIException to debug
|
Modifier and Type | Method and Description |
---|---|
String |
getCommand()
Returns the executed command that caused the exception
|
int |
getExitCode()
Returns the exit codes associated with executing the command
|
String |
getMessage()
Returns the Message obtained from the APIException
|
public ExceptionHandler(com.mks.api.response.APIException ex)
ex
- APIExceptionpublic String getMessage()
public String getCommand()
public int getExitCode()
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.