IOException.IOException(String, Throwable)
@Deprecated
public class IOExceptionHelper
extends java.lang.Object
IOException
with a cause.
This was needed because in Java 5 IOException
does not provide
a constructor that takes a cause
parameter.Modifier and Type | Method and Description |
---|---|
static java.io.IOException |
newIOException(java.lang.String message,
java.lang.Throwable cause)
Deprecated.
Use
IOException.IOException(String, Throwable) |
@Deprecated public static java.io.IOException newIOException(java.lang.String message, java.lang.Throwable cause)
IOException.IOException(String, Throwable)
IOException
with the supplied message
and
cause
in a manner that was supported by Java 5.message
- the messagecause
- root failure cause