Class SerialException

All Implemented Interfaces:
Serializable

public class SerialException extends RuntimeException
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 Details

    • SerialException

      public SerialException(String message)
      Parameters:
      message - what went wrong
    • SerialException

      public SerialException(String message, Throwable cause)
      Parameters:
      message - what went wrong
      cause - what caused it