Class AsyncStorageTaskException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.cloud.storage.AsyncStorageTaskException
All Implemented Interfaces:
Serializable

public final class AsyncStorageTaskException extends RuntimeException
This exception is used to preserve the caller's stacktrace when invoking an async task in a sync context. It will be added as a suppressed exception when propagating the async exception. This allows callers to catch ApiException thrown in an async operation, while still maintaining the call site.
See Also: