[WEBSOCKET_SPEC-38] Clarify error conditions on connections in the API Created: 17/Oct/12  Updated: 14/Dec/12  Resolved: 14/Dec/12

Status: Resolved
Project: websocket-spec
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: dannycoward Assignee: dannycoward
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: v010

 Description   

In particular, the different categories of error conditions and where they are handler (container/application).

Also, why is EncodeException a checked exception instead of a runtime one ?



 Comments   
Comment by dannycoward [ 14/Dec/12 ]

all categories are now clarified in the spec.

Decode exceptions are checked to allow explicit handing of malformed messages. Websocket endpoints can typically survive such cases, and using the onError mechanism, its likely that the websocket can still do something useful with the raw message even when the decoder has a problem.

Generated at Sun Mar 29 22:37:28 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.