com.google.ar.core.exceptions

Exceptions

AnchorNotSupportedForHostingException The anchor used for hostCloudAnchor(Anchor) is not a type of anchor that is currently supported for hosting. 
CameraNotAvailableException Camera is not available during resume() or at runtime during update()
CloudAnchorsNotConfiguredException Cloud anchors are not configured during hostCloudAnchor(Anchor)  
DataInvalidFormatException The data passed in for this operation was not in a valid format. 
DataUnsupportedVersionException The data passed in for this operation is not supported by this version of the SDK. 
DeadlineExceededException Acquire failed because the object being acquired is already released. 
FatalException Thrown when ARCore experiences a non-recoverable internal error. 
ImageInsufficientQualityException An image with insufficient quality (e.g. 
MissingGlContextException Thrown when an operation requires GL context (unchecked). 
NotTrackingException Thrown if an operation requires the AR system to be TRACKING (checked). 
NotYetAvailableException Acquire failed because the object being acquired is not yet available. 
ResourceExhaustedException Acquire failed because there are too many objects already acquired. 
SessionNotPausedException Thrown if an operation requires ARCore to be stopped (unchecked). 
SessionPausedException Thrown if an operation requires ARCore to be running (unchecked). 
TextureNotSetException Thrown if a texture name was not set by calling setCameraTextureName(int) before the first call to update() (unchecked). 
UnavailableApkTooOldException Thrown when the installed ARCore APK is too old for the ARCore SDK that this application was compiled using. 
UnavailableArcoreNotInstalledException Thrown when the ARCore APK is not installed on this device. 
UnavailableDeviceNotCompatibleException Thrown when the device is not currently compatible with ARCore. 
UnavailableException Subclasses of this exception are thrown when ARCore is not available. 
UnavailableSdkTooOldException Thrown when the ARCore SDK that this application was built with is too old for the installed ARCore APK. 
UnavailableUserDeclinedInstallationException Thrown when requestInstall is called after the user had previously cancelled installation. 
UnsupportedConfigurationException Thrown if the configuration supplied to configure(Config) is unsupported (unchecked). 

Send feedback about...