public class LynxCommExceptionHandler
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
tag |
Constructor and Description |
---|
LynxCommExceptionHandler() |
LynxCommExceptionHandler(java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getTag() |
protected boolean |
handleException(java.lang.Exception e)
Returns true if command was supported (so: exception was something else) or false if the exception indicated that the command wasn't supported
|
protected void |
handleSpecificException(java.lang.InterruptedException e) |
protected void |
handleSpecificException(LynxNackException nackException) |
protected void |
handleSpecificException(java.lang.RuntimeException e) |
protected void |
handleSpecificException(TargetPositionNotSetException e) |
public LynxCommExceptionHandler()
public LynxCommExceptionHandler(java.lang.String tag)
protected java.lang.String getTag()
protected boolean handleException(java.lang.Exception e)
protected void handleSpecificException(java.lang.InterruptedException e)
protected void handleSpecificException(TargetPositionNotSetException e)
protected void handleSpecificException(java.lang.RuntimeException e)
protected void handleSpecificException(LynxNackException nackException)
LynxNack.ReasonCode#isUnsupportedReason()