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, using ScwService.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 a ScwApiLevelException with no detail message.
      ScwApiLevelException(int keystoreApiLevel, int requiredApiLevel)
      Constructs a ScwApiLevelException with the keystore and required API level.
      ScwApiLevelException(java.lang.String s)
      Constructs a ScwApiLevelException with the specified detail message.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ScwApiLevelException

        public ScwApiLevelException()
        Constructs a ScwApiLevelException with no detail message.
      • ScwApiLevelException

        public ScwApiLevelException(java.lang.String s)
        Constructs a ScwApiLevelException with the specified detail message.
        Parameters:
        s - the detail message.
      • ScwApiLevelException

        public ScwApiLevelException(int keystoreApiLevel,
                                    int requiredApiLevel)
        Constructs a ScwApiLevelException with the keystore and required API level.
        Parameters:
        keystoreApiLevel - Keystore API level in the device
        requiredApiLevel - Required API level