Class FetchCancelled

  • All Implemented Interfaces:

    
    public final class FetchCancelled
    extends AdFetchError
                        

    Error class representing cancelled fetch operations.

    This error occurs when ad fetch operations are cancelled before completion, typically due to user actions, lifecycle changes, or request timeouts. It helps distinguish cancellations from other types of failures.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Short errorCode
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Short getErrorCode()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FetchCancelled

        FetchCancelled(Short errorCode)
        Parameters:
        errorCode - Short error code indicating the cancellation reason