Stay organized with collections
Save and categorize content based on your preferences.
ParseException
open class ParseException : RuntimeException
Thrown when parsing failed.
Summary
Public constructors
ParseException
ParseException(response: String)
Parameters |
response |
String: This value cannot be null . |
ParseException
ParseException(
response: String,
cause: Throwable)
Parameters |
response |
String: This value cannot be null . |
cause |
Throwable: This value cannot be null . |
Properties
response
var response: String!
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,["# ParseException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nParseException\n==============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/net/ParseException \"View this page in Java\") \n\n```\nopen class ParseException : RuntimeException\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.lang.RuntimeException](../../java/lang/RuntimeException.html#) ||\n| | | | ↳ | [android.net.ParseException](#) |\n\nThrown when parsing failed.\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [ParseException](#ParseException(kotlin.String))`(`response:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` \u003cbr /\u003e |\n| [ParseException](#ParseException(kotlin.String,%20kotlin.Throwable))`(`response:` `[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)`)` \u003cbr /\u003e |\n\n| Properties ||\n|-----------------------------------------------------------------------------------|--------------------------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [response](#response:kotlin.String) \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### ParseException\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nParseException(response: String)\n```\n\n| Parameters ||\n|------------|----------------------------------------------------------------------------------------------------------------|\n| `response` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): This value cannot be `null`. |\n\n### ParseException\n\nAdded in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nParseException(\n response: String, \n cause: Throwable)\n```\n\n| Parameters ||\n|------------|----------------------------------------------------------------------------------------------------------------------|\n| `response` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html): This value cannot be `null`. |\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html): This value cannot be `null`. |\n\nProperties\n----------\n\n### response\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar response: String!\n```"]]