com.samsung.android.sdk.coldwallet
Class ScwApiLevelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.samsung.android.sdk.coldwallet.ScwApiLevelException
-
- All Implemented Interfaces:
- java.io.Serializable
public class ScwApiLevelException extends java.lang.RuntimeException
Throws exception when the Keystore is outdated to support the required API. It is recommended to check the Keystore API level to avoid this exception, usingScwService.getKeystoreApiLevel()
Need to update Samsung Blockchain Keystore to the latest version to support the required API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ScwApiLevelException()
Constructs aScwApiLevelException
with no detail message.ScwApiLevelException(int keystoreApiLevel, int requiredApiLevel)
Constructs aScwApiLevelException
with the keystore and required API level.ScwApiLevelException(java.lang.String s)
Constructs aScwApiLevelException
with the specified detail message.
-
-
-
Constructor Detail
-
ScwApiLevelException
public ScwApiLevelException()
Constructs aScwApiLevelException
with no detail message.
-
ScwApiLevelException
public ScwApiLevelException(java.lang.String s)
Constructs aScwApiLevelException
with the specified detail message.- Parameters:
s
- the detail message.
-
ScwApiLevelException
public ScwApiLevelException(int keystoreApiLevel, int requiredApiLevel)
Constructs aScwApiLevelException
with the keystore and required API level.- Parameters:
keystoreApiLevel
- Keystore API level in the devicerequiredApiLevel
- Required API level
-
-