Also: Google
Play services
public class StorageException extends FirebaseException
Represents an Exception resulting from an operation on a StorageReference
.
Nested Class Summary
@interface | StorageException.ErrorCode | An StorageException.ErrorCode
indicates the source of a failed StorageTask or operation. |
Constant Summary
Public Method Summary
static StorageException |
fromErrorStatus(Status
status)
|
static StorageException |
fromException(Throwable
exception)
|
static StorageException |
fromExceptionAndHttpCode(Throwable
exception, int httpResultCode)
|
synchronized Throwable |
getCause()
Returns the cause of this
Throwable , or null if there
is no cause.
|
int | |
int | |
boolean |
Inherited Method Summary
Constants
public static final int ERROR_RETRY_LIMIT_EXCEEDED
Also:
Google Play services
Constant Value: -13030
Public Methods
public static StorageException fromExceptionAndHttpCode (Throwable exception, int httpResultCode)
Also:
Google Play services
public synchronized Throwable getCause ()
Also: Google
Play services
Returns the cause of this Throwable
, or null
if there is
no cause.
public int getHttpResultCode ()
Also:
Google Play services
Returns
- the Http result code (if one exists) from a network operation.
public boolean getIsRecoverableException ()
Also:
Google Play services
Returns
- True if this request failed due to a network condition that may be resolved in a future attempt.