Stay organized with collections
Save and categorize content based on your preferences.
FactoryConfigurationError
open class FactoryConfigurationError : Error
Thrown when a problem with configuration with the Parser Factories exists. This error will typically be thrown when the class of a parser factory specified in the system properties cannot be found or instantiated.
Summary
Public constructors |
Create a new FactoryConfigurationError with no detail message.
|
Create a new FactoryConfigurationError with a given Exception base cause of the error.
|
Create a new FactoryConfigurationError with the given Exception base cause and detail message.
|
Create a new FactoryConfigurationError with the String specified as an error message.
|
Public methods |
open Exception! |
Return the actual exception (if any) that caused this exception to be raised.
|
Properties |
open String? |
Return the message (if any) for this error .
|
Public constructors
FactoryConfigurationError
FactoryConfigurationError()
Create a new FactoryConfigurationError
with no detail message.
FactoryConfigurationError
FactoryConfigurationError(e: Exception!)
Create a new FactoryConfigurationError
with a given Exception
base cause of the error.
Parameters |
e |
Exception!: The exception to be encapsulated in a FactoryConfigurationError. |
FactoryConfigurationError
FactoryConfigurationError(
e: Exception!,
msg: String!)
Create a new FactoryConfigurationError
with the given Exception
base cause and detail message.
Parameters |
e |
Exception!: The exception to be encapsulated in a FactoryConfigurationError |
msg |
String!: The detail message. |
FactoryConfigurationError
FactoryConfigurationError(msg: String!)
Create a new FactoryConfigurationError
with the String
specified as an error message.
Parameters |
msg |
String!: The error message for the exception. |
Public methods
getException
open fun getException(): Exception!
Return the actual exception (if any) that caused this exception to be raised.
Return |
Exception! |
The encapsulated exception, or null if there is none. |
Properties
message
open val message: String?
Return the message (if any) for this error . If there is no message for the exception and there is an encapsulated exception then the message of that exception, if it exists will be returned. Else the name of the encapsulated exception will be returned.
Return |
String? |
The error 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.
[[["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,["# FactoryConfigurationError\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nFactoryConfigurationError\n=========================\n\n```\nopen class FactoryConfigurationError : Error\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.Error](../../../java/lang/Error.html#) ||\n| | | ↳ | [javax.xml.parsers.FactoryConfigurationError](#) |\n\nThrown when a problem with configuration with the Parser Factories exists. This error will typically be thrown when the class of a parser factory specified in the system properties cannot be found or instantiated.\n\nSummary\n-------\n\n| Public constructors ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [FactoryConfigurationError](#FactoryConfigurationError())`()` Create a new `FactoryConfigurationError` with no detail message. |\n| [FactoryConfigurationError](#FactoryConfigurationError(java.lang.Exception))`(`e:` `[Exception](../../../java/lang/Exception.html#)!`)` Create a new `FactoryConfigurationError` with a given `Exception` base cause of the error. |\n| [FactoryConfigurationError](#FactoryConfigurationError(java.lang.Exception,%20kotlin.String))`(`e:` `[Exception](../../../java/lang/Exception.html#)!`, `msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Create a new `FactoryConfigurationError` with the given `Exception` base cause and detail message. |\n| [FactoryConfigurationError](#FactoryConfigurationError(kotlin.String))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Create a new `FactoryConfigurationError` with the `String ` specified as an error message. |\n\n| Public methods ||\n|-------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|\n| open [Exception](../../../java/lang/Exception.html#)! | [getException](#getException())`()` Return the actual exception (if any) that caused this exception to be raised. |\n\n| Properties ||\n|----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | [message](#message:kotlin.String) Return the message (if any) for this error . |\n\nPublic constructors\n-------------------\n\n### FactoryConfigurationError\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nFactoryConfigurationError()\n```\n\nCreate a new `FactoryConfigurationError` with no detail message. \n\n### FactoryConfigurationError\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nFactoryConfigurationError(e: Exception!)\n```\n\nCreate a new `FactoryConfigurationError` with a given `Exception` base cause of the error.\n\n| Parameters ||\n|-----|--------------------------------------------------------------------------------------------------------------------|\n| `e` | [Exception](../../../java/lang/Exception.html#)!: The exception to be encapsulated in a FactoryConfigurationError. |\n\n### FactoryConfigurationError\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nFactoryConfigurationError(\n e: Exception!, \n msg: String!)\n```\n\nCreate a new `FactoryConfigurationError` with the given `Exception` base cause and detail message.\n\n| Parameters ||\n|-------|-------------------------------------------------------------------------------------------------------------------|\n| `e` | [Exception](../../../java/lang/Exception.html#)!: The exception to be encapsulated in a FactoryConfigurationError |\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The detail message. |\n\n### FactoryConfigurationError\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nFactoryConfigurationError(msg: String!)\n```\n\nCreate a new `FactoryConfigurationError` with the `String ` specified as an error message.\n\n| Parameters ||\n|-------|-------------------------------------------------------------------------------------------------------------------------|\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The error message for the exception. |\n\nPublic methods\n--------------\n\n### getException\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getException(): Exception!\n```\n\nReturn the actual exception (if any) that caused this exception to be raised.\n\n| Return ||\n|--------------------------------------------------|-------------------------------------------------------|\n| [Exception](../../../java/lang/Exception.html#)! | The encapsulated exception, or null if there is none. |\n\nProperties\n----------\n\n### message\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen val message: String?\n```\n\nReturn the message (if any) for this error . If there is no message for the exception and there is an encapsulated exception then the message of that exception, if it exists will be returned. Else the name of the encapsulated exception will be returned.\n\n| Return ||\n|-----------------------------------------------------------------------------------|--------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | The error message. |"]]