Stay organized with collections
Save and categorize content based on your preferences.
JarException
open class JarException : ZipException
Signals that an error of some sort has occurred while reading from or writing to a JAR file.
Summary
Public constructors |
Constructs a JarException with no detail message.
|
Constructs a JarException with the specified detail message.
|
Public constructors
JarException
JarException()
Constructs a JarException with no detail message.
JarException
JarException(s: String!)
Constructs a JarException with the specified detail message.
Parameters |
s |
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,["# JarException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nJarException\n============\n\n```\nopen class JarException : ZipException\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](../../lang/Exception.html#) ||||\n| | | ↳ | [java.io.IOException](../../io/IOException.html#) |||\n| | | | ↳ | [java.util.zip.ZipException](../zip/ZipException.html#) ||\n| | | | | ↳ | [java.util.jar.JarException](#) |\n\nSignals that an error of some sort has occurred while reading from or writing to a JAR file.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [JarException](#JarException())`()` Constructs a JarException with no detail message. |\n| [JarException](#JarException(kotlin.String))`(`s:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs a JarException with the specified detail message. |\n\nPublic constructors\n-------------------\n\n### JarException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nJarException()\n```\n\nConstructs a JarException with no detail message. \n\n### JarException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nJarException(s: String!)\n```\n\nConstructs a JarException with the specified detail message.\n\n| Parameters ||\n|-----|-------------------------------------------------------------------------------------------------------|\n| `s` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detail message |"]]