Class WatchdoxSDKException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.blackberry.workspaces.api.sdk.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
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
getErrorType
public String getErrorType()
-
setErrorType
public void setErrorType(String errorType)
-
getErrorText
public String getErrorText()
-
setErrorText
public void setErrorText(String errorText)
-
getErrorCode
public int getErrorCode()
-
setErrorCode
public void setErrorCode(int errorCode)
-
-