com.microsoft.tfs.util.tasks
Class CanceledException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.microsoft.tfs.util.tasks.CanceledException
All Implemented Interfaces:
java.io.Serializable

public class CanceledException
extends java.lang.RuntimeException

CanceledException is an unchecked exception thrown to indicate that a long-running operation has ended prematurely because cancelation was requested.

See Also:
Serialized Form

Constructor Summary
CanceledException()
          Creates a new CanceledException with no message.
CanceledException(java.lang.String message)
          Creates a new CanceledException with the specified message.
 
Method Summary
 
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

CanceledException

public CanceledException()
Creates a new CanceledException with no message.


CanceledException

public CanceledException(java.lang.String message)
Creates a new CanceledException with the specified message.

Parameters:
message - the exception message


© 2015 Microsoft. All rights reserved.