|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.scm.provider.integrity.ExceptionHandler
public class ExceptionHandler
Helper class to appropriately diagnose an APIException
Constructor Summary | |
---|---|
ExceptionHandler(com.mks.api.response.APIException ex)
Constructor requires a single APIException to debug |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionHandler(com.mks.api.response.APIException ex)
ex
- APIExceptionMethod Detail |
---|
public String getMessage()
public String getCommand()
public int getExitCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |