Most visited

Recently visited

Added in API level 1

BadPaddingException

public class BadPaddingException
extends GeneralSecurityException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.security.GeneralSecurityException
         ↳ javax.crypto.BadPaddingException
Known Direct Subclasses


当输入数据需要特定的填充机制但数据没有正确填充时会引发此异常。

Summary

Public constructors

BadPaddingException()

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

BadPaddingException(String msg)

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

Inherited methods

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

Public constructors

BadPaddingException

Added in API level 1
BadPaddingException ()

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

BadPaddingException

Added in API level 1
BadPaddingException (String msg)

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

Parameters
msg String: the detail message.

Hooray!