Package com.itextpdf.io.exceptions
Class IOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.itextpdf.commons.exceptions.ITextException
com.itextpdf.io.exceptions.IOException
- All Implemented Interfaces:
-
Serializable
Exception class for exceptions in io module.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIOException
(String message) Creates a new IOException.IOException
(String message, Object obj) Creates a new IOException.IOException
(String message, Throwable cause) Creates a new IOException.IOException
(String message, Throwable cause, Object obj) Creates a new instance of IOException.IOException
(Throwable cause) Creates a new IOException. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object[]
Gets additional params for Exception message.setMessageParams
(Object... messageParams) Sets additional params for Exception message.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
obj
Object for more details
-
-
Constructor Details
-
IOException
Creates a new IOException.- Parameters:
-
message
- the detail message.
-
IOException
Creates a new IOException.- Parameters:
-
cause
- the cause (which is saved for later retrieval byThrowable.getCause()
method).
-
IOException
Creates a new IOException.- Parameters:
-
message
- the detail message. -
obj
- an object for more details.
-
IOException
Creates a new IOException.- Parameters:
-
message
- the detail message. -
cause
- the cause (which is saved for later retrieval byThrowable.getCause()
method).
-
IOException
Creates a new instance of IOException.- Parameters:
-
message
- the detail message. -
cause
- the cause (which is saved for later retrieval byThrowable.getCause()
method). -
obj
- an object for more details.
-
-
Method Details
-
getMessage
- Overrides:
-
getMessage
in classThrowable
-
getMessageParams
Gets additional params for Exception message.- Returns:
- params for exception message.
-
setMessageParams
Sets additional params for Exception message.- Parameters:
-
messageParams
- additional params. - Returns:
- object itself.
-