eclipsesource / graphical-lsp

Graphical language server platform for building web-based diagram editors
https://www.eclipse.org/glsp
Eclipse Public License 2.0
36 stars 8 forks source link

Use stricter scope for exceptions that are returned to the client #355

Closed tortmayr closed 4 years ago

tortmayr commented 4 years ago

Restrict the exceptions that are returned to the client to instances of GLSPServerException. Returning all RuntimeExceptions led to some unwanted side-effects (e.g action handlers might get canceled when non-critical runtime exceptions are thrown)