Package com.google.api.gax.rpc
Class AsyncTaskException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.api.gax.rpc.AsyncTaskException
-
- All Implemented Interfaces:
java.io.Serializable
public class AsyncTaskException extends java.lang.RuntimeExceptionThis 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:
- Serialized Form