AnchorNotSupportedForHostingException
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
AnchorNotSupportedForHostingException
()
AnchorNotSupportedForHostingException
public AnchorNotSupportedForHostingException()
public
AnchorNotSupportedForHostingException
(String message)
AnchorNotSupportedForHostingException
public AnchorNotSupportedForHostingException(
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."],[[["`AnchorNotSupportedForHostingException` signals that the anchor provided to `Session.hostCloudAnchor()` is not suitable for hosting."],["This exception arises when the anchor type used for hosting is not currently supported by ARCore."],["It inherits methods from `java.lang.Throwable` for exception handling and debugging."],["Two constructors are available: one default and another accepting a custom error message."]]],["The `AnchorNotSupportedForHostingException` is thrown when attempting to host an unsupported anchor type via `Session.hostCloudAnchor(Anchor)`. This class provides two public constructors: one default and another that accepts a string `message`. It inherits methods from `java.lang.Throwable` and `java.lang.Object` for exception handling, stack trace management, and object operations like equals and hashCode, respectively.\n"]]