public final class

Operation.State.FAILURE

extends Operation.State

 java.lang.Object

androidx.work.Operation.State

↳androidx.work.Operation.State.FAILURE

Overview

This represents an Operation which has failed.

Summary

Constructors
publicFAILURE(java.lang.Throwable exception)

Methods
public java.lang.ThrowablegetThrowable()

public java.lang.StringtoString()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructors

public FAILURE(java.lang.Throwable exception)

Methods

public java.lang.Throwable getThrowable()

Returns:

The java.lang.Throwable which caused the Operation to fail.

public java.lang.String toString()