APIdia Launch Partner
Top Description Fields Constructors
javax.crypto

public Class IllegalBlockSizeException

extends GeneralSecurityException
Class Inheritance

This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the block size of the cipher.
Author
Jan Luehe
Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
IllegalBlockSizeException()

Constructs an IllegalBlockSizeException with no detail message.

public
IllegalBlockSizeException(String
the detail message.
msg
)

Constructs an IllegalBlockSizeException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.security.GeneralSecurityException.serialVersionUID.

Annotations
@Serial

Constructor Detail

IllegalBlockSizeExceptionback to summary
public IllegalBlockSizeException()

Constructs an IllegalBlockSizeException with no detail message. A detail message is a String that describes this particular exception.

IllegalBlockSizeExceptionback to summary
public IllegalBlockSizeException(String msg)

Constructs an IllegalBlockSizeException with the specified detail message.

Parameters
msg:String

the detail message.