Class ComputeTaskCancelledException

    • Constructor Detail

      • ComputeTaskCancelledException

        public ComputeTaskCancelledException​(String msg)
        Creates new task cancellation exception with given error message.
        Parameters:
        msg - Error message.
      • ComputeTaskCancelledException

        public ComputeTaskCancelledException​(Throwable cause)
        Creates new task cancellation exception given throwable as a cause and source of error message.
        Parameters:
        cause - Non-null throwable cause.
      • ComputeTaskCancelledException

        public ComputeTaskCancelledException​(String msg,
                                             @Nullable
                                             @Nullable Throwable cause)
        Creates new task cancellation exception with given error message and optional nested exception.
        Parameters:
        msg - Error message.
        cause - Optional nested exception (can be null).