org.knime.core.node
Class CanceledExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.knime.core.node.CanceledExecutionException
All Implemented Interfaces:
Serializable

public class CanceledExecutionException
extends Exception

This exception is used in the ExecutionMonitor when a node's execution has been canceled. If the NodeModel ask the NodeProgressMonitor if a cancel is requested, this method will throw this exception which then leads the process to terminate.

Author:
Thomas Gabriel, University of Konstanz
See Also:
Serialized Form

Constructor Summary
CanceledExecutionException()
          Creates a new exception of this type with an error message.
CanceledExecutionException(String s)
          Constructs an CancelExecutionException with the specified detail 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

CanceledExecutionException

public CanceledExecutionException()
Creates a new exception of this type with an error message.


CanceledExecutionException

public CanceledExecutionException(String s)
Constructs an CancelExecutionException with the specified detail message. Use a helpful message here as it will be displayed to the user, and it is the only hint ones gets to correct the problem.

Parameters:
s - a detail message about the cancelation


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.