public static volatile Session session;
public static final CountDownLatch ON_ERROR_LATCH = new CountDownLatch(1);
@OnClose
public void close() {
throw new RuntimeException("testException");
<BUG>}
@OnMessage
public String message(String message, Session session) {
return "message";</BUG>
}

public static volatile Session session;
public static final CountDownLatch ON_ERROR_LATCH = new CountDownLatch(1);
@OnOpen
public void open() {
throw new RuntimeException("testException");
}
