- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- javax.crypto.IllegalBlockSizeException
-
- All Implemented Interfaces:
-
Serializable
public class IllegalBlockSizeException extends GeneralSecurityException
当提供给块密码的数据长度不正确时,抛出此异常,即与密码的块大小不匹配。- 从以下版本开始:
- 1.4
- 另请参见:
- Serialized Form
-
-
构造方法摘要
构造方法 Constructor 描述 IllegalBlockSizeException()
构造一个没有详细消息的IllegalBlockSizeException。IllegalBlockSizeException(String msg)
构造具有指定详细消息的IllegalBlockSizeException。
-
方法摘要
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
构造方法详细信息
-
IllegalBlockSizeException
public IllegalBlockSizeException()
构造一个没有详细消息的IllegalBlockSizeException。 详细消息是描述此特定异常的字符串。
-
IllegalBlockSizeException
public IllegalBlockSizeException(String msg)
构造具有指定详细消息的IllegalBlockSizeException。- 参数
-
msg
- 详细信息。
-
-