Class TomlIOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.wasabithumb.jtoml.except.TomlException
io.github.wasabithumb.jtoml.except.TomlIOException
- All Implemented Interfaces:
Serializable
Wrapper for
IOException- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull IOExceptiongetCause()static voidrethrow(@NotNull IOException cause) voidunwrap()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TomlIOException
@Contract("_, null -> fail") public TomlIOException(@NotNull @NotNull String message, IOException cause)
-
-
Method Details
-
rethrow
-
getCause
-
unwrap
- Throws:
IOException
-