MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / error

Method error

android/src/HM10Port.java:268–279  ·  view source on GitHub ↗
(String msg)

Source from the content-addressed store, hash-verified

266 }
267
268 protected void error(String msg) {
269 portState = STATE_FAILED;
270
271 PortListener portListener = this.portListener;
272 if (portListener != null && safeDestruct.increment()) {
273 try {
274 portListener.portError(msg);
275 } finally {
276 safeDestruct.decrement();
277 }
278 }
279 }
280
281 static class Error extends Exception {
282 private static final long serialVersionUID = -2699261433374751557L;

Callers 4

onServicesDiscoveredMethod · 0.95
runMethod · 0.45
runMethod · 0.45

Calls 3

portErrorMethod · 0.95
incrementMethod · 0.80
decrementMethod · 0.80

Tested by

no test coverage detected