Skip to content

Most visited

Recently visited

navigation
Added in API level 1

InvalidKeySpecException

public class InvalidKeySpecException
extends GeneralSecurityException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ java.security.spec.InvalidKeySpecException


The exception that is thrown when an invalid key specification is encountered.

Summary

Public constructors

InvalidKeySpecException(String msg)

Creates a new InvalidKeySpecException with the specified message.

InvalidKeySpecException()

Creates a new InvalidKeySpecException.

InvalidKeySpecException(String message, Throwable cause)

Creates a new InvalidKeySpecException with the specified message and cause.

InvalidKeySpecException(Throwable cause)

Creates a new InvalidKeySpecException with the specified cause.

Inherited methods

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

Public constructors

InvalidKeySpecException

Added in API level 1
InvalidKeySpecException (String msg)

Creates a new InvalidKeySpecException with the specified message.

Parameters
msg String: the detail message of this exception.

InvalidKeySpecException

Added in API level 1
InvalidKeySpecException ()

Creates a new InvalidKeySpecException.

InvalidKeySpecException

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

Creates a new InvalidKeySpecException with the specified message and cause.

Parameters
message String: the detail message of this exception.
cause Throwable: the cause of this exception.

InvalidKeySpecException

Added in API level 1
InvalidKeySpecException (Throwable cause)

Creates a new InvalidKeySpecException with the specified cause.

Parameters
cause Throwable: the cause of 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.