The Android Developer Challenge is back! Submit your idea before December 2.

Operation.State.FAILURE

public static final class Operation.State.FAILURE
extends Operation.State

java.lang.Object
   ↳ androidx.work.Operation.State
     ↳ androidx.work.Operation.State.FAILURE


This represents an Operation which has failed.

Summary

Public constructors

Operation.State.FAILURE(Throwable exception)

Public methods

Throwable getThrowable()
String toString()

Inherited methods

Public constructors

Operation.State.FAILURE

public Operation.State.FAILURE (Throwable exception)

Parameters
exception Throwable

Public methods

getThrowable

public Throwable getThrowable ()

Returns
Throwable The Throwable which caused the Operation to fail.

toString

public String toString ()

Returns
String