mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-05 11:53:53 +00:00
turned SwissTimingFormatException into an IOException to avoid aborts
This commit is contained in:
1 parent
ec294f770e
commit
e172bbd0b5
2 files changed
+5
-2
No files matched your search
+3
-1
@@ -1,6 +1,8 @@
|
||||
package com.sap.sailing.domain.swisstimingadapter;
|
||||
|
||||
public class SwissTimingFormatException extends RuntimeException {
|
||||
import java.io.IOException;
|
||||
|
||||
public class SwissTimingFormatException extends IOException {
|
||||
private static final long serialVersionUID = -1210353206288437237L;
|
||||
|
||||
private final byte[] swissTimingMessage;
|
||||
|
||||
+2
-1
@@ -1,7 +1,8 @@
|
||||
package com.sap.sailing.udpconnector;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.DatagramPacket;
|
||||
|
||||
public interface UDPMessageParser<MessageType> {
|
||||
MessageType parse(DatagramPacket p);
|
||||
MessageType parse(DatagramPacket p) throws IOException;
|
||||
}
|
||||
Reference in new issue
Block a user