java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sejda.model.exception.TaskException
org.sejda.model.exception.TaskIOException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TaskWrongPasswordException
,UnsupportedTextException
Exception thrown if an IOException is raised during the task execution
- Author:
- Andrea Vacondio
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTaskIOException
(String message) TaskIOException
(String message, Throwable cause) TaskIOException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TaskIOException
-
TaskIOException
-
TaskIOException
-
-
Method Details
-
require
- Parameters:
condition
-exceptionMessage
-- Throws:
TaskIOException
- with the given message if condition is false
-