Class TaskIOException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TaskWrongPasswordException, UnsupportedTextException

public class TaskIOException extends TaskException
Exception thrown if an IOException is raised during the task execution
Author:
Andrea Vacondio
See Also:
  • Constructor Details

    • TaskIOException

      public TaskIOException(String message, Throwable cause)
    • TaskIOException

      public TaskIOException(String message)
    • TaskIOException

      public TaskIOException(Throwable cause)
  • Method Details

    • require

      public static void require(boolean condition, String exceptionMessage) throws TaskIOException
      Parameters:
      condition -
      exceptionMessage -
      Throws:
      TaskIOException - with the given message if condition is false