AsyncOperation.CompletionException Class

  • java.lang.Object
    • RuntimeException
      • com.microsoft.connecteddevices.AsyncOperation.CompletionException

public class CompletionException

Unchecked exception that holds the exception that caused the operation to complete exceptionally.

Used like ExecutionException except that it is unchecked so that it can propagate to dependent operations without needing to know the full set of exceptions / requiring all exception observing continuations to declare that they may throw the ExecutionException.

Constructor Summary

Constructor Description
CompletionException()

Constructs a CompletionException with no message.

CompletionException(String message)

Constructs a CompletionException with an exception message.

Constructor Details

CompletionException

protected CompletionException()

Constructs a CompletionException with no message.

CompletionException

protected CompletionException(String message)

Constructs a CompletionException with an exception message.

Parameters:

message

Applies to