(IncomingDataPoint dp, Exception exception)
| 49 | } |
| 50 | |
| 51 | @Override |
| 52 | public void handleError(IncomingDataPoint dp, Exception exception) { |
| 53 | if (dp == null) { |
| 54 | throw new IllegalArgumentException("Missing Data Point"); |
| 55 | } |
| 56 | if (dp.getValue().equals("42")) { |
| 57 | throw new IllegalDataException("Testing"); |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | } |
no test coverage detected