Package org.apache.axiom.ext.io
Class StreamCopyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.axiom.ext.io.StreamCopyException
- All Implemented Interfaces:
Serializable
Signals that an I/O exception occurred while copying data from an input stream (or other data
source) to an output stream (or other data sink). The exception wraps the original
IOException together with information about the type of operation (read or write) that
failed.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet information about the type of operation that fails.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
READ
public static final int READIndicates that the wrapped exception was triggered while reading from the input stream (or data source).- See Also:
-
WRITE
public static final int WRITEIndicates that the wrapped exception was triggered while writing to the output stream (or data sink).- See Also:
-
-
Constructor Details
-
Method Details
-
getOperation
public int getOperation()Get information about the type of operation that fails. -
getMessage
- Overrides:
getMessagein classThrowable
-