YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.multiroom.codec.StreamFormatException Class Reference

The one failure the binary protocol code throws for what a server sends (or for what the network does in the middle of a message). More...

Inheritance diagram for de.yaacc.multiroom.codec.StreamFormatException:
Inheritance graph
Collaboration diagram for de.yaacc.multiroom.codec.StreamFormatException:
Collaboration graph

Classes

enum  Kind
 What went wrong. More...
 

Public Member Functions

 StreamFormatException (Kind kind, String message)
 
Kind getKind ()
 

Detailed Description

The one failure the binary protocol code throws for what a server sends (or for what the network does in the middle of a message).

Nothing else escapes the decoders: not a BufferUnderflowException, not a NegativeArraySizeException, not an OutOfMemoryError from a size taken on trust. The message is a fixed text of ours (it may name the kind of problem, never the bytes or the text that caused it).


The documentation for this class was generated from the following file: