10Duke Java Core
Loading...
Searching...
No Matches
tenduke.sdk.core.exception.SdkException Class Reference

Detailed Description

Model class for common SDK related exceptions.

This is a base class for all the other SDK related exceptions. This should be used only in a case where there is not available a more fitting and descriptive exception class.

Inheritance diagram for tenduke.sdk.core.exception.SdkException:
tenduke.sdk.core.exception.ConfigException tenduke.sdk.core.exception.TokenException tenduke.sdk.core.exception.UserAuthRequiredException

Public Member Functions

 SdkException (final String errorCode, final String errorDescription, final Throwable errorCause)
 Class constructor.
 

Static Public Attributes

static final String INTERNAL_ERROR = "internal_error"
 Error code constant for universal errors that don't have a more definitive error code available.
 
static final String BAD_ARGUMENTS = "bad_arguments"
 Error code constant for specifying that the given arguments are invalid.
 
static final String TIMEOUT_ERROR = "timeout_error"
 Error code constant for specifying that there was a timeout.
 

Constructor & Destructor Documentation

◆ SdkException()

tenduke.sdk.core.exception.SdkException.SdkException ( final String errorCode,
final String errorDescription,
final Throwable errorCause )

Class constructor.

Parameters
errorCodebrief message of the error.
errorDescriptiondetailed message of the error.
errorCausenested cause.

The documentation for this class was generated from the following file: