com.samsung.android.sdk
Class SsdkUnsupportedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.samsung.android.sdk.SsdkUnsupportedException
-
- All Implemented Interfaces:
- java.io.Serializable
public class SsdkUnsupportedException extends java.lang.Exception
This exception is thrown to indicate that vendor is not Samsung or device does not supported, or SDK version does not match. If SDK failed to initialize, this exception should be thrown.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static int
DEVICE_NOT_SUPPORTED
DEVICE_NOT_SUPPORTED indicates that Device does not supported.static int
LIBRARY_NOT_INSTALLED
LIBRARY_NOT_INSTALLED indicates that SDK library is not installed.static int
LIBRARY_UPDATE_IS_RECOMMENDED
LIBRARY_UPDATE_IS_RECOMMENDED indicates that SDK library update is recommended.static int
LIBRARY_UPDATE_IS_REQUIRED
LIBRARY_UPDATE_IS_REQUIRED indicates that user must install SDK library to use the application.static int
VENDOR_NOT_SUPPORTED
VENDOR_NOT_SUPPORTED indicates that Vendor is not Samsung.
-
Constructor Summary
Constructors Constructor and Description SsdkUnsupportedException(java.lang.String message, int errorType)
Constructs aSsdkUnsupportedException
class with the specified detail message and error type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
getType()
Returns error type when SDK failed to initialize.
-
-
-
Field Detail
-
VENDOR_NOT_SUPPORTED
public static final int VENDOR_NOT_SUPPORTED
VENDOR_NOT_SUPPORTED indicates that Vendor is not Samsung.- See Also:
- Constant Field Values
-
DEVICE_NOT_SUPPORTED
public static final int DEVICE_NOT_SUPPORTED
DEVICE_NOT_SUPPORTED indicates that Device does not supported.- See Also:
- Constant Field Values
-
LIBRARY_NOT_INSTALLED
public static final int LIBRARY_NOT_INSTALLED
LIBRARY_NOT_INSTALLED indicates that SDK library is not installed.- See Also:
- Constant Field Values
-
LIBRARY_UPDATE_IS_REQUIRED
public static final int LIBRARY_UPDATE_IS_REQUIRED
LIBRARY_UPDATE_IS_REQUIRED indicates that user must install SDK library to use the application. If not, user cannot use the application.- See Also:
- Constant Field Values
-
LIBRARY_UPDATE_IS_RECOMMENDED
public static final int LIBRARY_UPDATE_IS_RECOMMENDED
LIBRARY_UPDATE_IS_RECOMMENDED indicates that SDK library update is recommended. But user can use the application even if user do not update library.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SsdkUnsupportedException
public SsdkUnsupportedException(java.lang.String message, int errorType)
Constructs aSsdkUnsupportedException
class with the specified detail message and error type.- Parameters:
message
- the detailed message.errorType
- the error type. ( VENDOR_NOT_SUPPORTED, DEVICE_NOT_SUPPORTED, LIBRARY_NOT_INSTALLED, LIBRARY_UPDATE_IS_REQUIRED, LIBRARY_UPDATE_IS_RECOMMENDED )
-
-