public final class

CameraControl.OperationCanceledException

extends java.lang.Exception

 java.lang.Object

↳java.lang.Throwable

↳java.lang.Exception

↳androidx.camera.core.CameraControl.OperationCanceledException

Overview

An exception representing a failure that the operation is canceled which might be caused by a new value is set or camera is closed.

This is different from java.util.concurrent.CancellationException. While java.util.concurrent.CancellationException means the was cancelled by cancel, CameraControl.OperationCanceledException occurs when there is something wrong inside CameraControl and it has to cancel the operation.

Summary

Constructors
publicOperationCanceledException(java.lang.String message)

publicOperationCanceledException(java.lang.String message, java.lang.Throwable cause)

Methods
from java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructors

public OperationCanceledException(java.lang.String message)

public OperationCanceledException(java.lang.String message, java.lang.Throwable cause)