diff options
Diffstat (limited to 'src/org/traccar/protocol/Jt600ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Jt600ProtocolDecoder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Jt600ProtocolDecoder.java b/src/org/traccar/protocol/Jt600ProtocolDecoder.java index d6eca3a53..8c1d2997b 100644 --- a/src/org/traccar/protocol/Jt600ProtocolDecoder.java +++ b/src/org/traccar/protocol/Jt600ProtocolDecoder.java @@ -36,7 +36,7 @@ public class Jt600ProtocolDecoder extends BaseProtocolDecoder { super(protocol); } - private Position decodeNormalMessage(ChannelBuffer buf, Channel channel) throws Exception { + private Position decodeNormalMessage(ChannelBuffer buf, Channel channel) { Position position = new Position(); position.setProtocol(getProtocolName()); @@ -140,7 +140,7 @@ public class Jt600ProtocolDecoder extends BaseProtocolDecoder { "(\\d+)," + // Alert Type ".*\\)"); - private Position decodeAlertMessage(ChannelBuffer buf, Channel channel) throws Exception { + private Position decodeAlertMessage(ChannelBuffer buf, Channel channel) { String message = buf.toString(Charset.defaultCharset()); |