Added in API level 1

BadPaddingException

open class BadPaddingException : GeneralSecurityException
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Exception
   ↳ java.security.GeneralSecurityException
   ↳ javax.crypto.BadPaddingException

This exception is thrown when a particular padding mechanism is expected for the input data but the data is not padded properly.

Summary

Public constructors

Constructs a BadPaddingException with no detail message.

Constructs a BadPaddingException with the specified detail message.

Public constructors

BadPaddingException

Added in API level 1
BadPaddingException()

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

BadPaddingException

Added in API level 1
BadPaddingException(msg: String!)

Constructs a BadPaddingException with the specified detail message.

Parameters
msg String!: the detail message.