- All Implemented Interfaces:
- java.io.Serializable
public class SingleThreadInterruptedException
extends java.lang.RuntimeException
This Exception is used to signal that the ShellCommand was aborted, because the Thread has been interrupted. This
Exception should only be thrown by ShellCommands that are annotated with Concurrency(ThreadPolicy.SINGLE) and only if
the Thread running the job is marked as interrupted. ShellCommands that run in a single Thread typically drop their
job if a new job arrives. Throwing this Exception will cause the current job to stop without annoying the user with
an Error message.
- Author:
- Erik Lievaart
- See Also:
Concurrency
,
ThreadPolicy
,
Serialized Form