Exception AsyncTaskException (2.53.0)

  public 
  
 class 
 AsyncTaskException 
  
 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.

Create a Mobile Website
View Site in Mobile | Classic
Share by: