DeadlineExceededException
Stay organized with collections
Save and categorize content based on your preferences.
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.
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
DeadlineExceededException
()
DeadlineExceededException
public DeadlineExceededException()
public
DeadlineExceededException
(String message)
DeadlineExceededException
public DeadlineExceededException(
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.
[null,null,["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|------------|-------------------------------------|"]]