Package dev.gmitch215.bytebox.io
Class SerialException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.gmitch215.bytebox.io.SerialException
- All Implemented Interfaces:
Serializable
A stream that could not be read or written.
Unchecked, unlike java.io's. Nothing here wraps a real stream, so there is no I/O to
fail: the failures are a malformed stream, a type with no codec, or a class identifier that does
not match. None of those are worth a try block in a request handler.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSerialException(String message) SerialException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SerialException
- Parameters:
message- what went wrong
-
SerialException
- Parameters:
message- what went wrongcause- what caused it
-