Search this API

y.algo
Class AlgorithmAbortedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by y.algo.AlgorithmAbortedException
All Implemented Interfaces:
Serializable

public class AlgorithmAbortedException
extends RuntimeException

Exception that gets thrown by an algorithm when the thread executing the algorithm was interrupted.

See Also:
Serialized Form

Constructor Summary
AlgorithmAbortedException()
           
AlgorithmAbortedException(String msg)
           
 
Method Summary
static void check()
          Throws an AlgorithmInterruptedException if the current Thread has been interrupted.
static void check(String msg)
          Throws an AlgorithmInterruptedException if the current Thread has been interrupted.
 
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

AlgorithmAbortedException

public AlgorithmAbortedException(String msg)

AlgorithmAbortedException

public AlgorithmAbortedException()
Method Detail

check

public static void check()
Throws an AlgorithmInterruptedException if the current Thread has been interrupted.


check

public static void check(String msg)
Throws an AlgorithmInterruptedException if the current Thread has been interrupted.

Parameters:
msg - Exception message if raised

© Copyright 2000-2013,
yWorks GmbH.
All rights reserved.