to top
Android APIs
public class

InvalidKeySpecException

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

Class Overview

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.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InvalidKeySpecException (String msg)

Added in API level 1

Creates a new InvalidKeySpecException with the specified message.

Parameters
msg the detail message of this exception.

public InvalidKeySpecException ()

Added in API level 1

Creates a new InvalidKeySpecException.

public InvalidKeySpecException (String message, Throwable cause)

Added in API level 1

Creates a new InvalidKeySpecException with the specified message and cause.

Parameters
message the detail message of this exception.
cause the cause of this exception.

public InvalidKeySpecException (Throwable cause)

Added in API level 1

Creates a new InvalidKeySpecException with the specified cause.

Parameters
cause the cause of this exception.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.