Class TaskCancellationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TaskCancellationException
    extends java.lang.Exception
    An exception that can be used in the process of canceling a task. Some processes will choose to return silently, but with some operations (database based stuff, for example), it's better to throw an exception, so that some other action will occur (transaction rollback in that example).
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TaskCancellationException

        public TaskCancellationException()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable