public final class TapNLinkException
extends java.lang.RuntimeException
Example: int i = 10; try { int[] myNumbers = {1, 2, 3}; myUart.format("Found myNuners[%d] = %d",i, myNumbers[i] ); } catch (TapNLinkException e) { myUart.format("Something went wrong: %s (code=%d)", e.getMessage(), e.getCode()); }
Constructor and Description |
---|
TapNLinkException() |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Returns the last error code
|