Stay organized with collections
Save and categorize content based on your preferences.
public class
DeadlineExceededException
Acquire failed because the object being acquired is already released. This happens, for example,
if the application holds an old frame for too long, then tries to acquire a point cloud from it.
[[["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\u003eDeadlineExceededException\u003c/code\u003e signals that an attempt to acquire a resource failed because it's already released or a deadline was exceeded.\u003c/p\u003e\n"],["\u003cp\u003eThis exception commonly occurs when an application holds onto an old frame for too long and then tries to access data from it, like a point cloud.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: one default and one accepting a custom error message.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeadlineExceededException\u003c/code\u003e inherits standard methods from \u003ccode\u003eThrowable\u003c/code\u003e for exception handling and stack trace information.\u003c/p\u003e\n"]]],[],null,["# DeadlineExceededException\n\n`\npublic class\n`**DeadlineExceededException**`\n` \nAcquire failed because the object being acquired is already released. This happens, for example,\nif the application holds an old frame for too long, then tries to acquire a point cloud from it. \n\nPublic Constructors\n-------------------\n\n|-----|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` ` | [DeadlineExceededException](/ar/reference/java/com/google/ar/core/exceptions/DeadlineExceededException#DeadlineExceededException())`()` |\n| ` ` | [DeadlineExceededException](/ar/reference/java/com/google/ar/core/exceptions/DeadlineExceededException#DeadlineExceededException(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String)` message)` |\n\nInherited Methods\n-----------------\n\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-------------------\n\n#### public\nDeadlineExceededException\n()\n\n### DeadlineExceededException\n\n```java\npublic DeadlineExceededException()\n``` \n\u003cbr /\u003e\n\n#### public\nDeadlineExceededException\n([String](https://developer.android.com/reference/java/lang/String) message)\n\n### DeadlineExceededException\n\n```java\npublic DeadlineExceededException(\n String message\n)\n``` \n\u003cbr /\u003e\n\n| Details ||\n| Parameters | |-----------|---| | `message` | | |\n|------------|-------------------------------------|"]]