|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.thirtyboxes.api.MethodCallFailedException
public class MethodCallFailedException
Represents a failed call to the 30 Boxes API.
ThirtyBoxes
,
Serialized FormConstructor Summary | |
---|---|
protected |
MethodCallFailedException(java.lang.String methodName,
java.lang.Exception thrownException)
Exception constructor. |
protected |
MethodCallFailedException(java.lang.String methodName,
RESTResult result)
RESTResult constructor. |
Method Summary | |
---|---|
java.lang.String |
getReasonString()
Returns a user-readable explanation of the failure. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected MethodCallFailedException(java.lang.String methodName, RESTResult result)
methodName
- the method that failed during calling.result
- the RESTResult object returned from the call.protected MethodCallFailedException(java.lang.String methodName, java.lang.Exception thrownException)
methodName
- the method that failed during calling.thrownException
- the Exception that caused this to fail.Method Detail |
---|
public java.lang.String getReasonString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |