Search in sources :

Example 1 with CvsProcessException

use of com.intellij.cvsSupport2.errorHandling.CvsProcessException in project intellij-community by JetBrains.

the class CvsListenerWithProgress method isAborted.

public boolean isAborted() {
    myPing = true;
    if (myLastError != null)
        throw new CvsProcessException(myLastError);
    if (myIndirectCancel)
        return true;
    final ProgressIndicator progressIndicator = getProgressIndicator();
    if (progressIndicator == null)
        return false;
    return progressIndicator.isCanceled();
}
Also used : ProgressIndicator(com.intellij.openapi.progress.ProgressIndicator) CvsProcessException(com.intellij.cvsSupport2.errorHandling.CvsProcessException)

Aggregations

CvsProcessException (com.intellij.cvsSupport2.errorHandling.CvsProcessException)1 ProgressIndicator (com.intellij.openapi.progress.ProgressIndicator)1