Package org.apache.tika.io
Class IOExceptionWithCause
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.tika.io.IOExceptionWithCause
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TaggedIOException
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
Subclasses IOException with the
Throwable constructors missing before Java 6. If you are using Java 6,
consider this class deprecated and use IOException.- Since:
- Apache Tika 0.4, copied from Commons IO 1.4
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIOExceptionWithCause(String message, Throwable cause) Deprecated.Constructs a new instance with the given message and cause.IOExceptionWithCause(Throwable cause) Deprecated.Constructs a new instance with the given 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
-
IOExceptionWithCause
Deprecated.Constructs a new instance with the given message and cause.As specified in
Throwable, the message in the givencauseis not used in this instance's message.- Parameters:
message- the message (seeThrowable.getMessage())cause- the cause (seeThrowable.getCause()). Anullvalue is allowed.
-
IOExceptionWithCause
Deprecated.Constructs a new instance with the given cause.The message is set to
cause==null ? null : cause.toString(), which by default contains the class and message ofcause. This constructor is useful for call sites that just wrap another throwable.- Parameters:
cause- the cause (seeThrowable.getCause()). Anullvalue is allowed.
-