Stay organized with collections
Save and categorize content based on your preferences.
ShortBufferException
open class ShortBufferException : GeneralSecurityException
This exception is thrown when an output buffer provided by the user is too short to hold the operation result.
Summary
Public constructors |
Constructs a ShortBufferException with no detail message.
|
Constructs a ShortBufferException with the specified detail message.
|
Public constructors
ShortBufferException
ShortBufferException()
Constructs a ShortBufferException with no detail message. A detail message is a String that describes this particular exception.
ShortBufferException
ShortBufferException(msg: String!)
Constructs a ShortBufferException 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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# ShortBufferException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nShortBufferException\n====================\n\n```\nopen class ShortBufferException : GeneralSecurityException\n```\n\n|---|---|---|---|----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) ||||\n| | ↳ | [java.lang.Exception](../../java/lang/Exception.html#) |||\n| | | ↳ | [java.security.GeneralSecurityException](../../java/security/GeneralSecurityException.html#) ||\n| | | | ↳ | [javax.crypto.ShortBufferException](#) |\n\nThis exception is thrown when an output buffer provided by the user is too short to hold the operation result.\n\nSummary\n-------\n\n| Public constructors ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [ShortBufferException](#ShortBufferException())`()` Constructs a ShortBufferException with no detail message. |\n| [ShortBufferException](#ShortBufferException(kotlin.String))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs a ShortBufferException with the specified detail message. |\n\nPublic constructors\n-------------------\n\n### ShortBufferException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nShortBufferException()\n```\n\nConstructs a ShortBufferException with no detail message. A detail message is a String that describes this particular exception. \n\n### ShortBufferException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nShortBufferException(msg: String!)\n```\n\nConstructs a ShortBufferException with the specified detail message.\n\n| Parameters ||\n|-------|--------------------------------------------------------------------------------------------------------|\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detail message. |"]]