Class WatchdoxSDKException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.blackberry.workspaces.sdk.api.WatchdoxSDKException
- All Implemented Interfaces:
Serializable
public class WatchdoxSDKException extends RuntimeException
Exception thrown when errors occur completing API requests.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description WatchdoxSDKException(String errorType, String errorText, int errorCode)
-
Method Summary
Modifier and Type Method Description int
getErrorCode()
String
getErrorText()
String
getErrorType()
void
setErrorCode(int errorCode)
void
setErrorText(String errorText)
void
setErrorType(String errorType)
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
getErrorType
-
setErrorType
-
getErrorText
-
setErrorText
-
getErrorCode
public int getErrorCode() -
setErrorCode
public void setErrorCode(int errorCode)
-