java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.intellij.openapi.progress.ProcessCanceledException
- All Implemented Interfaces:
ControlFlowException,Serializable
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:
-
ProgressIndicator#checkCanceled()- General Threading Rules
- Serialized Form
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProcessCanceledException(@NotNull String message) ProcessCanceledException(@Nullable Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProcessCanceledException
public ProcessCanceledException() -
ProcessCanceledException
-
ProcessCanceledException
-