Class OperationCanceledException

  • All Implemented Interfaces:
    Serializable

    public final class OperationCanceledException
    extends RuntimeException
    This exception is thrown to blow out of a long-running method when the user cancels it.

    This class can be used without OSGi running.

    This class is not intended to be subclassed by clients but may be instantiated.

    See Also:
    Serialized Form
    • Constructor Detail

      • OperationCanceledException

        public OperationCanceledException()
        Creates a new exception.
      • OperationCanceledException

        public OperationCanceledException​(String message)
        Creates a new exception with the given message.
        Parameters:
        message - the message for the exception