Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-222

unchecked exceptions thrown from method javax.websocket.Endpoint.onOpen not caught by container

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.7.Final, 1.1.Beta1
    • 1.0.6.Final
    • Core
    • None
    • Compatibility/Configuration

      Unchecked exceptions thrown from method javax.websocket.Endpoint.onOpen are not caught by the container. These are propagated to the application.
      I believe that these should be caught by the container according to the spec (Java API for WebSocket, Version 1.0, Chapter 5,2,2, WSC-5.2.2-1).
      For example, the Jetty 9.1.4 container does catch these.
      What do you think?

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              angelo.salvade Angelo Salvade (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: