org.apache.hadoop.io
Class MultipleIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.io.MultipleIOException
- All Implemented Interfaces:
- Serializable
public class MultipleIOException
- extends IOException
Encapsulate a list of IOException
into an IOException
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
getExceptions
public List<IOException> getExceptions()
- Returns:
- the underlying exceptions
createIOException
public static IOException createIOException(List<IOException> exceptions)
- A convenient method to create an
IOException
.
Copyright © 2009 The Apache Software Foundation