y.algo
Class AlgorithmAbortedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
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 |
AlgorithmAbortedException
public AlgorithmAbortedException(String msg)
AlgorithmAbortedException
public AlgorithmAbortedException()
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