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:
java.io.Serializable
public class IOException extends ITextException
Exception class for exceptions in io module.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.Object>
messageParams
protected java.lang.Object
obj
Object for more details
-
Constructor Summary
Constructors Constructor Description IOException(java.lang.String message)
Creates a new IOException.IOException(java.lang.String message, java.lang.Object obj)
Creates a new IOException.IOException(java.lang.String message, java.lang.Throwable cause)
Creates a new IOException.IOException(java.lang.String message, java.lang.Throwable cause, java.lang.Object obj)
Creates a new instance of IOException.IOException(java.lang.Throwable cause)
Creates a new IOException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
protected java.lang.Object[]
getMessageParams()
Gets additional params for Exception message.IOException
setMessageParams(java.lang.Object... messageParams)
Sets additional params for Exception message.
-
-
-
Constructor Detail
-
IOException
public IOException(java.lang.String message)
Creates a new IOException.- Parameters:
message
- the detail message.
-
IOException
public IOException(java.lang.Throwable cause)
Creates a new IOException.- Parameters:
cause
- the cause (which is saved for later retrieval byThrowable.getCause()
method).
-
IOException
public IOException(java.lang.String message, java.lang.Object obj)
Creates a new IOException.- Parameters:
message
- the detail message.obj
- an object for more details.
-
IOException
public IOException(java.lang.String message, java.lang.Throwable cause)
Creates a new IOException.- Parameters:
message
- the detail message.cause
- the cause (which is saved for later retrieval byThrowable.getCause()
method).
-
IOException
public IOException(java.lang.String message, java.lang.Throwable cause, java.lang.Object obj)
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 Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
getMessageParams
protected java.lang.Object[] getMessageParams()
Gets additional params for Exception message.- Returns:
- params for exception message.
-
setMessageParams
public IOException setMessageParams(java.lang.Object... messageParams)
Sets additional params for Exception message.- Parameters:
messageParams
- additional params.- Returns:
- object itself.
-
-