Eclipse Platform
Release 3.0

org.eclipse.core.runtime
Class OperationCanceledException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.eclipse.core.runtime.OperationCanceledException
All Implemented Interfaces:
Serializable

public final class OperationCanceledException
extends RuntimeException

This exception is thrown to blow out of a long-running method when the user cancels it.

See Also:
Serialized Form

Constructor Summary
OperationCanceledException()
          Creates a new exception.
OperationCanceledException(String message)
          Creates a new exception with the given message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationCanceledException

public OperationCanceledException()
Creates a new exception.


OperationCanceledException

public OperationCanceledException(String message)
Creates a new exception with the given message.

Parameters:
message - the message for the exception

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.