APIdia Launch Partner
Top Description Fields Constructors
javax.crypto

public Class AEADBadTagException

extends BadPaddingException
Class Inheritance

This exception is thrown when a Cipher operating in an AEAD mode (such as GCM/CCM) is unable to verify the supplied authentication tag.
Since
1.7

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
AEADBadTagException()

Constructs an AEADBadTagException with no detail message.

public
AEADBadTagException(String
the detail message.
msg
)

Constructs an AEADBadTagException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.crypto.BadPaddingException.serialVersionUID.

Annotations
@Serial

Constructor Detail

AEADBadTagExceptionback to summary
public AEADBadTagException()

Constructs an AEADBadTagException with no detail message.

AEADBadTagExceptionback to summary
public AEADBadTagException(String msg)

Constructs an AEADBadTagException with the specified detail message.

Parameters
msg:String

the detail message.