Stay organized with collections
Save and categorize content based on your preferences.
StringConcatException
open class StringConcatException : Exception
StringConcatException is thrown by StringConcatFactory
when linkage invariants are violated.
Summary
Public constructors |
Constructs an exception with a message
|
Constructs an exception with a message and a linked throwable
|
Public constructors
StringConcatException
StringConcatException(msg: String!)
Constructs an exception with a message
Parameters |
msg |
String!: exception message |
StringConcatException
StringConcatException(
msg: String!,
cause: Throwable!)
Constructs an exception with a message and a linked throwable
Parameters |
msg |
String!: exception message |
cause |
Throwable!: throwable cause |
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-03-13 UTC.
[null,null,["Last updated 2025-03-13 UTC."],[],[],null,["# StringConcatException\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nStringConcatException\n=====================\n\n```\nopen class StringConcatException : Exception\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](../Exception.html#) ||\n| | | ↳ | [java.lang.invoke.StringConcatException](#) |\n\nStringConcatException is thrown by [StringConcatFactory](#) when linkage invariants are violated.\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [StringConcatException](#StringConcatException(kotlin.String))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs an exception with a message |\n| [StringConcatException](#StringConcatException(kotlin.String,%20kotlin.Throwable))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`, `cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` Constructs an exception with a message and a linked throwable |\n\nPublic constructors\n-------------------\n\n### StringConcatException\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nStringConcatException(msg: String!)\n```\n\nConstructs an exception with a message\n\n| Parameters ||\n|-------|------------------------------------------------------------------------------------------------------|\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: exception message |\n\n### StringConcatException\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nStringConcatException(\n msg: String!, \n cause: Throwable!)\n```\n\nConstructs an exception with a message and a linked throwable\n\n| Parameters ||\n|---------|----------------------------------------------------------------------------------------------------------|\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: exception message |\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!: throwable cause |"]]