Class ProcessCanceledException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.intellij.openapi.progress.ProcessCanceledException
All Implemented Interfaces:
ControlFlowException, Serializable

public class ProcessCanceledException extends RuntimeException implements ControlFlowException
An exception indicating that the currently running operation was terminated and should finish as soon as possible.

Usually, this exception should not be caught, swallowed, logged, or handled in any way. Instead, it should be rethrown so that the infrastructure can handle it correctly.

This exception can happen during almost any IDE activity, e.g. any PSI query, com.intellij.openapi.extensions.ExtensionPointName#getExtensions, com.intellij.openapi.actionSystem.AnAction#update, etc.

See Also:
  • Constructor Details

    • ProcessCanceledException

      public ProcessCanceledException()
    • ProcessCanceledException

      public ProcessCanceledException(@Nullable @Nullable Throwable cause)
    • ProcessCanceledException

      protected ProcessCanceledException(@NotNull @NotNull String message)