Package nbbrd.io
Class WrappedIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- nbbrd.io.WrappedIOException
-
- All Implemented Interfaces:
Serializable
public final class WrappedIOException extends IOException
- Author:
- Philippe Charles
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NonNull Throwableunwrap(@NonNull IOException ex)static @NonNull IOExceptionwrap(@NonNull Throwable ex)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
wrap
public static @NonNull IOException wrap(@NonNull Throwable ex)
-
unwrap
public static @NonNull Throwable unwrap(@NonNull IOException ex)
-
-