Stay organized with collections
Save and categorize content based on your preferences.
open class TransformerFactoryConfigurationError : Error
Thrown when a problem with configuration with the Transformer Factories exists. This error will typically be thrown when the class of a transformation factory specified in the system properties cannot be found or instantiated.
Summary
Public constructors |
Create a new TransformerFactoryConfigurationError with no detail message.
|
Create a new TransformerFactoryConfigurationError with a given Exception base cause of the error.
|
Create a new TransformerFactoryConfigurationError with the given Exception base cause and detail message.
|
Create a new TransformerFactoryConfigurationError 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
TransformerFactoryConfigurationError()
Create a new TransformerFactoryConfigurationError
with no detail message.
TransformerFactoryConfigurationError(e: Exception!)
Create a new TransformerFactoryConfigurationError
with a given Exception
base cause of the error.
Parameters |
e |
Exception!: The exception to be encapsulated in a TransformerFactoryConfigurationError. |
TransformerFactoryConfigurationError(
e: Exception!,
msg: String!)
Create a new TransformerFactoryConfigurationError
with the given Exception
base cause and detail message.
Parameters |
e |
Exception!: The exception to be encapsulated in a TransformerFactoryConfigurationError |
msg |
String!: The detail message. |
TransformerFactoryConfigurationError(msg: String!)
Create a new TransformerFactoryConfigurationError
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 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,["# TransformerFactoryConfigurationError\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nTransformerFactoryConfigurationError\n====================================\n\n```\nopen class TransformerFactoryConfigurationError : 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.transform.TransformerFactoryConfigurationError](#) |\n\nThrown when a problem with configuration with the Transformer Factories exists. This error will typically be thrown when the class of a transformation factory specified in the system properties cannot be found or instantiated.\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [TransformerFactoryConfigurationError](#TransformerFactoryConfigurationError())`()` Create a new `TransformerFactoryConfigurationError` with no detail message. |\n| [TransformerFactoryConfigurationError](#TransformerFactoryConfigurationError(java.lang.Exception))`(`e:` `[Exception](../../../java/lang/Exception.html#)!`)` Create a new `TransformerFactoryConfigurationError` with a given `Exception` base cause of the error. |\n| [TransformerFactoryConfigurationError](#TransformerFactoryConfigurationError(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 `TransformerFactoryConfigurationError` with the given `Exception` base cause and detail message. |\n| [TransformerFactoryConfigurationError](#TransformerFactoryConfigurationError(kotlin.String))`(`msg:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Create a new `TransformerFactoryConfigurationError` 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### TransformerFactoryConfigurationError\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nTransformerFactoryConfigurationError()\n```\n\nCreate a new `TransformerFactoryConfigurationError` with no detail message. \n\n### TransformerFactoryConfigurationError\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nTransformerFactoryConfigurationError(e: Exception!)\n```\n\nCreate a new `TransformerFactoryConfigurationError` 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 TransformerFactoryConfigurationError. |\n\n### TransformerFactoryConfigurationError\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nTransformerFactoryConfigurationError(\n e: Exception!, \n msg: String!)\n```\n\nCreate a new `TransformerFactoryConfigurationError` 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 TransformerFactoryConfigurationError |\n| `msg` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: The detail message. |\n\n### TransformerFactoryConfigurationError\n\nAdded in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nTransformerFactoryConfigurationError(msg: String!)\n```\n\nCreate a new `TransformerFactoryConfigurationError` 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 8](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 8](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 will be returned.\n\n| Return ||\n|-----------------------------------------------------------------------------------|--------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? | The error message. |"]]