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 getException()
String toString()

Inherited methods

Public constructors

Operation.State.FAILURE

public Operation.State.FAILURE (Throwable exception)

Parameters
exception Throwable

Public methods

getException

public Throwable getException ()

Returns
Throwable The Throwable which caused the Operation to fail.

toString

public String toString ()

Returns
String