DataInvalidFormatException
Stay organized with collections
Save and categorize content based on your preferences.
The data passed in for this operation was not in a valid format.
Inherited Methods
From class
java.lang.Throwable
From class
java.lang.Object
Object
|
clone()
|
boolean
|
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Public Constructors
public DataInvalidFormatException()
public DataInvalidFormatException(
String message
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 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 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eDataInvalidFormatException\u003c/code\u003e signals that the input data for an operation is not in the expected format.\u003c/p\u003e\n"],["\u003cp\u003eThis exception provides two constructors: one default constructor and another that accepts a custom error message.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits methods from \u003ccode\u003eThrowable\u003c/code\u003e for exception handling, such as getting the cause and stack trace.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this exception to indicate data format issues during ARCore operations.\u003c/p\u003e\n"]]],[],null,["`\npublic class\n`**DataInvalidFormatException**`\n` \nThe data passed in for this operation was not in a valid format. \n\nPublic Constructors\n\n|-----|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` ` | [DataInvalidFormatException](/ar/reference/java/com/google/ar/core/exceptions/DataInvalidFormatException#DataInvalidFormatException())`()` |\n| ` ` | [DataInvalidFormatException](/ar/reference/java/com/google/ar/core/exceptions/DataInvalidFormatException#DataInvalidFormatException(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String)` message)` |\n\nInherited Methods \nFrom `class\njava.lang.Throwable` \n\n|-----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| ` synchronized final void ` | addSuppressed`(`[Throwable](https://developer.android.com/reference/java/lang/Throwable)` arg0)` |\n| ` synchronized `[Throwable](https://developer.android.com/reference/java/lang/Throwable)` ` | fillInStackTrace`()` |\n| ` synchronized `[Throwable](https://developer.android.com/reference/java/lang/Throwable)` ` | getCause`()` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | getLocalizedMessage`()` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | getMessage`()` |\n| ` `[StackTraceElement[]](https://developer.android.com/reference/java/lang/StackTraceElement)` ` | getStackTrace`()` |\n| ` synchronized final `[Throwable[]](https://developer.android.com/reference/java/lang/Throwable)` ` | getSuppressed`()` |\n| ` synchronized `[Throwable](https://developer.android.com/reference/java/lang/Throwable)` ` | initCause`(`[Throwable](https://developer.android.com/reference/java/lang/Throwable)` arg0)` |\n| ` void ` | printStackTrace`()` |\n| ` void ` | printStackTrace`(`[PrintWriter](https://developer.android.com/reference/java/io/PrintWriter)` arg0)` |\n| ` void ` | printStackTrace`(`[PrintStream](https://developer.android.com/reference/java/io/PrintStream)` arg0)` |\n| ` void ` | setStackTrace`(`[StackTraceElement[]](https://developer.android.com/reference/java/lang/StackTraceElement)` arg0)` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | toString`()` |\n\nFrom `class\njava.lang.Object` \n\n|---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|\n| ` `[Object](https://developer.android.com/reference/java/lang/Object)` ` | clone`()` |\n| ` boolean ` | equals`(`[Object](https://developer.android.com/reference/java/lang/Object)` arg0)` |\n| ` void ` | finalize`()` |\n| ` final `[Class](https://developer.android.com/reference/java/lang/Class)`\u003c?\u003e ` | getClass`()` |\n| ` int ` | hashCode`()` |\n| ` final void ` | notify`()` |\n| ` final void ` | notifyAll`()` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | toString`()` |\n| ` final void ` | wait`(long arg0, int arg1)` |\n| ` final void ` | wait`(long arg0)` |\n| ` final void ` | wait`()` |\n\nPublic Constructors\n\npublic\nDataInvalidFormatException\n()\n\nDataInvalidFormatException \n\n```java\npublic DataInvalidFormatException()\n``` \n\u003cbr /\u003e\n\npublic\nDataInvalidFormatException\n([String](https://developer.android.com/reference/java/lang/String) message)\n\nDataInvalidFormatException \n\n```java\npublic DataInvalidFormatException(\n String message\n)\n``` \n\u003cbr /\u003e\n\n| Details ||\n| Parameters | |-----------|---| | `message` | | |\n|------------|-------------------------------------|"]]