Most visited

Recently visited

Added in API level 1

IllegalBlockSizeException

public class IllegalBlockSizeException
extends GeneralSecurityException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ javax.crypto.IllegalBlockSizeException


当提供给分组密码的数据长度不正确时,即与密码的块大小不匹配时,会引发此异常。

Summary

Public constructors

IllegalBlockSizeException()

构造一个没有详细消息的IllegalBlockSizeException。

IllegalBlockSizeException(String msg)

用指定的详细信息构造一个IllegalBlockSizeException。

Inherited methods

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

Public constructors

IllegalBlockSizeException

Added in API level 1
IllegalBlockSizeException ()

构造一个没有详细消息的IllegalBlockSizeException。 详细消息是描述此特定异常的字符串。

IllegalBlockSizeException

Added in API level 1
IllegalBlockSizeException (String msg)

用指定的详细信息构造一个IllegalBlockSizeException。

Parameters
msg String: the detail message.

Hooray!