Stay organized with collections
Save and categorize content based on your preferences.
DatatypeConfigurationException
open class DatatypeConfigurationException : Exception
Indicates a serious configuration error.
Summary
Public constructors |
Create a new DatatypeConfigurationException with no specified detail message and cause.
|
Create a new DatatypeConfigurationException with the specified detail message.
|
Create a new DatatypeConfigurationException with the specified detail message and cause.
|
Create a new DatatypeConfigurationException with the specified cause.
|
Public methods |
open Unit |
Print the the trace of methods from where the error originated.
|
open Unit |
Print the the trace of methods from where the error originated.
|
open Unit |
Print the the trace of methods from where the error originated.
|
Public constructors
DatatypeConfigurationException
DatatypeConfigurationException()
Create a new DatatypeConfigurationException
with no specified detail message and cause.
DatatypeConfigurationException
DatatypeConfigurationException(message: String!)
Create a new DatatypeConfigurationException
with the specified detail message.
Parameters |
message |
String!: The detail message. |
DatatypeConfigurationException
DatatypeConfigurationException(
message: String!,
cause: Throwable!)
Create a new DatatypeConfigurationException
with the specified detail message and cause.
Parameters |
message |
String!: The detail message. |
cause |
Throwable!: The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown. |
DatatypeConfigurationException
DatatypeConfigurationException(cause: Throwable!)
Create a new DatatypeConfigurationException
with the specified cause.
Parameters |
cause |
Throwable!: The cause. A null value is permitted, and indicates that the cause is nonexistent or unknown. |
Public methods
printStackTrace
open fun printStackTrace(): Unit
Print the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object.
printStackTrace
open fun printStackTrace(s: PrintStream): Unit
Print the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object.
Parameters |
s |
PrintStream: The stream where the dump will be sent to. |
printStackTrace
open fun printStackTrace(s: PrintWriter): Unit
Print the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object.
Parameters |
s |
PrintWriter: The writer where the dump will be sent to. |
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# DatatypeConfigurationException\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDatatypeConfigurationException\n==============================\n\n```\nopen class DatatypeConfigurationException : 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](../../../java/lang/Exception.html#) ||\n| | | ↳ | [javax.xml.datatype.DatatypeConfigurationException](#) |\n\nIndicates a serious configuration error.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [DatatypeConfigurationException](#DatatypeConfigurationException())`()` Create a new `DatatypeConfigurationException` with no specified detail message and cause. |\n| [DatatypeConfigurationException](#DatatypeConfigurationException(kotlin.String))`(`message:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Create a new `DatatypeConfigurationException` with the specified detail message. |\n| [DatatypeConfigurationException](#DatatypeConfigurationException(kotlin.String,%20kotlin.Throwable))`(`message:` `[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)!`)` Create a new `DatatypeConfigurationException` with the specified detail message and cause. |\n| [DatatypeConfigurationException](#DatatypeConfigurationException(kotlin.Throwable))`(`cause:` `[Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!`)` Create a new `DatatypeConfigurationException` with the specified cause. |\n\n| Public methods ||\n|-----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [printStackTrace](#printStackTrace())`()` Print the the trace of methods from where the error originated. |\n| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [printStackTrace](#printStackTrace(java.io.PrintStream))`(`s:` `[PrintStream](../../../java/io/PrintStream.html#)`)` Print the the trace of methods from where the error originated. |\n| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [printStackTrace](#printStackTrace(java.io.PrintWriter))`(`s:` `[PrintWriter](../../../java/io/PrintWriter.html#)`)` Print the the trace of methods from where the error originated. |\n\nPublic constructors\n-------------------\n\n### DatatypeConfigurationException\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nDatatypeConfigurationException()\n```\n\nCreate a new `DatatypeConfigurationException` with no specified detail message and cause. \n\n### DatatypeConfigurationException\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nDatatypeConfigurationException(message: String!)\n```\n\nCreate a new `DatatypeConfigurationException` with the specified detail message.\n\n| Parameters ||\n|-----------|--------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The detail message. |\n\n### DatatypeConfigurationException\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nDatatypeConfigurationException(\n message: String!, \n cause: Throwable!)\n```\n\nCreate a new `DatatypeConfigurationException` with the specified detail message and cause.\n\n| Parameters ||\n|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `message` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The detail message. |\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!: The cause. A `null` value is permitted, and indicates that the cause is nonexistent or unknown. |\n\n### DatatypeConfigurationException\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nDatatypeConfigurationException(cause: Throwable!)\n```\n\nCreate a new `DatatypeConfigurationException` with the specified cause.\n\n| Parameters ||\n|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `cause` | [Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)!: The cause. A `null` value is permitted, and indicates that the cause is nonexistent or unknown. |\n\nPublic methods\n--------------\n\n### printStackTrace\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun printStackTrace(): Unit\n```\n\nPrint the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object. \n\n### printStackTrace\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun printStackTrace(s: PrintStream): Unit\n```\n\nPrint the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object.\n\n| Parameters ||\n|-----|-----------------------------------------------------------------------------------------------|\n| `s` | [PrintStream](../../../java/io/PrintStream.html#): The stream where the dump will be sent to. |\n\n### printStackTrace\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun printStackTrace(s: PrintWriter): Unit\n```\n\nPrint the the trace of methods from where the error originated. This will trace all nested exception objects, as well as this object.\n\n| Parameters ||\n|-----|-----------------------------------------------------------------------------------------------|\n| `s` | [PrintWriter](../../../java/io/PrintWriter.html#): The writer where the dump will be sent to. |"]]