Skip to content

Most visited

Recently visited

navigation
Added in API level 1

GeneralSecurityException

public class GeneralSecurityException
extends Exception

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


GeneralSecurityException is a general security exception and the superclass for all security specific exceptions.

Summary

Public constructors

GeneralSecurityException(String msg)

Constructs a new instance of GeneralSecurityException with the given message.

GeneralSecurityException()

Constructs a new instance of GeneralSecurityException.

GeneralSecurityException(String message, Throwable cause)

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

GeneralSecurityException(Throwable cause)

Constructs a new instance of GeneralSecurityException with the cause.

Inherited methods

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

Public constructors

GeneralSecurityException

Added in API level 1
GeneralSecurityException (String msg)

Constructs a new instance of GeneralSecurityException with the given message.

Parameters
msg String: the detail message for this exception.

GeneralSecurityException

Added in API level 1
GeneralSecurityException ()

Constructs a new instance of GeneralSecurityException.

GeneralSecurityException

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

Constructs a new instance of GeneralSecurityException 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.

GeneralSecurityException

Added in API level 1
GeneralSecurityException (Throwable cause)

Constructs a new instance of GeneralSecurityException 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.