public class IoRuntimeException extends RuntimeException
| Modifier | Constructor and Description |
|---|---|
|
IoRuntimeException() |
|
IoRuntimeException(String message) |
|
IoRuntimeException(String message,
Throwable cause) |
protected |
IoRuntimeException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace) |
|
IoRuntimeException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static IoRuntimeException |
propagate(IOException e)
This method returns an instance
IoRuntimeException. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IoRuntimeException()
public IoRuntimeException(String message)
protected IoRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
public IoRuntimeException(Throwable cause)
public static IoRuntimeException propagate(IOException e)
IoRuntimeException.
Inspired by com.google.common.base.Throwables#propagate(java.lang.Throwable).
try {
...
} catch (IOException e) {
throw IoRuntimeException.propagate(e);
}
e - Copyright © 2017. All Rights Reserved.