BadPaddingException  |  API reference  |  Android Developers (original) (raw)

open class BadPaddingException : GeneralSecurityException

kotlin.Any
kotlin.Throwable
java.lang.Exception
java.security.GeneralSecurityException

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
BadPaddingException() Constructs a BadPaddingException with no detail message.
BadPaddingException(msg: String!) Constructs a BadPaddingException with the specified detail message.

Public constructors

BadPaddingException

BadPaddingException()

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

BadPaddingException

BadPaddingException(msg: String!)

Constructs a BadPaddingException with the specified detail message.

Parameters
msg String!: the detail message.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.