xjava.security
public class IllegalBlockSizeException extends RuntimeException
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.3 $
Since: IJCE 1.0.0
Field Summary | |
---|---|
int | blockSize
The block size of the cipher. |
int | dataSize
The size of the data passed to the cipher. |
Constructor Summary | |
---|---|
IllegalBlockSizeException(String message)
Constructs an IllegalBlockSizeException with the specified
detail message. | |
IllegalBlockSizeException(int blockSize, int dataSize)
Constructs an IllegalBlockSizeException with the specified
block size and illegal data size.
| |
IllegalBlockSizeException(int blockSize, int dataSize, String message)
Constructs an IllegalBlockSizeException with the specified
block size, illegal data size, and detail message.
|
Method Summary | |
---|---|
int | getBlockSize()
Gets the block size of the cipher (or 0 if this was not set).
|
int | getDataSize()
Gets the size of the data passed to the cipher (or 0 if this
was not set).
|
Deprecated: Use getBlockSize().
The block size of the cipher.Deprecated: Use getDataSize().
The size of the data passed to the cipher.Parameters: message the detail message.
The detail message is set to "blockSize = " +
blockSize + ", dataSize = " + dataSize
.
Parameters: blockSize the block size of the cipher. dataSize the illegal size of the data passed to the cipher.
This constructor is not supported in JavaSoft's version of JCE.
Parameters: blockSize the block size of the cipher. dataSize the illegal size of the data passed to the cipher. message the detail message.