Skip to content

Most visited

Recently visited

navigation
Added in API level 1

InvalidKeyException

public class InvalidKeyException
extends KeyException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ java.security.KeyException
           ↳ java.security.InvalidKeyException
Known Direct Subclasses


InvalidKeyException indicates exceptional conditions, caused by an invalid key.

Summary

Public constructors

InvalidKeyException(String msg)

Constructs a new instance of InvalidKeyException with the given message.

InvalidKeyException()

Constructs a new instance of InvalidKeyException.

InvalidKeyException(String message, Throwable cause)

Constructs a new instance of InvalidKeyException with the given message and the cause.

InvalidKeyException(Throwable cause)

Constructs a new instance of InvalidKeyException with the cause.

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

InvalidKeyException

Added in API level 1
InvalidKeyException (String msg)

Constructs a new instance of InvalidKeyException with the given message.

Parameters
msg String: the detail message for this exception.

InvalidKeyException

Added in API level 1
InvalidKeyException ()

Constructs a new instance of InvalidKeyException.

InvalidKeyException

Added in API level 1
InvalidKeyException (String message, 
                Throwable cause)

Constructs a new instance of InvalidKeyException with the given message and the cause.

Parameters
message String: the detail message for this exception.
cause Throwable: the exception which is the cause for this exception.

InvalidKeyException

Added in API level 1
InvalidKeyException (Throwable cause)

Constructs a new instance of InvalidKeyException with the cause.

Parameters
cause Throwable: the exception which is the cause for this exception.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.