MCPcopy Create free account
hub / github.com/BaseXdb/basex / error

Method error

basex-api/src/main/java/org/basex/http/ws/WebSocket.java:181–188  ·  view source on GitHub ↗

Sends an error to the client. @param ex exception

(final Exception ex)

Source from the content-addressed store, hash-verified

179 * @param ex exception
180 */
181 public void error(final Exception ex) {
182 Util.debug(ex);
183 try {
184 getRemote().sendString(ex.getMessage());
185 } catch(final IOException e) {
186 Util.debug(e);
187 }
188 }
189
190 /**
191 * Runs a function and creates log output.

Callers 3

findAndProcessMethod · 0.95
itemMethod · 0.95
endDocumentMethod · 0.45

Calls 2

debugMethod · 0.95
getMessageMethod · 0.45

Tested by

no test coverage detected