Interface Error
com.yandex.runtime
public interface Error
- All Known Subinterfaces:
- BadRequestError, DiskCorruptError, DiskFullError, DiskWriteAccessError, ForbiddenError, LocalError, NetworkError, NotFoundError, RemoteError, RequestEntityTooLargeError
Methods
Method Detail
isValid
public boolean isValid ()
Tells if this Error is valid or no.
Any other method (except for this one) called on an invalid Error will throw java.lang.RuntimeException. An instance becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.