Class IOError

All Implemented Interfaces:
Future<Void>, Associator, Eligible
Direct Known Subclasses:
ConnectError, StartProcessError

public class IOError extends Error
A special kind of Error that signals I/O related problems.
See Also:
  • Constructor Details

    • IOError

      public IOError(IOError event)
      Creates a new event as a copy of an existing event.

      Useful for forwarding an event.

      Parameters:
      event - the event to copy
    • IOError

      public IOError(Event<?> event, String message)
      Creates a new instance.
      Parameters:
      event - the event that was being handled when the problem occurred
      message - the message
    • IOError

      public IOError(Event<?> event, String message, Throwable throwable)
      Creates a new instance.
      Parameters:
      event - the event that was being handled when the problem occurred
      message - the message
      throwable - the encountered throwable
    • IOError

      public IOError(Event<?> event, Throwable throwable)
      Creates a new instance.
      Parameters:
      event - the event that was being handled when the problem occurred
      throwable - the encountered throwable