aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Protocol.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-03-04 11:03:12 +0500
committerAbyss777 <abyss@fox5.ru>2017-03-04 11:03:12 +0500
commitf882c2e248fdf1eb87f3ccc339e943c74a6c8dff (patch)
tree2ed2b23818d008fa1c7f3c745579196b8f09147f /src/org/traccar/Protocol.java
parent6ff73337236f126839e8ce936ba9d201e8a501c7 (diff)
downloadtrackermap-server-f882c2e248fdf1eb87f3ccc339e943c74a6c8dff.tar.gz
trackermap-server-f882c2e248fdf1eb87f3ccc339e943c74a6c8dff.tar.bz2
trackermap-server-f882c2e248fdf1eb87f3ccc339e943c74a6c8dff.zip
- Fixed log messages
- Combine exceptions in Protocol
Diffstat (limited to 'src/org/traccar/Protocol.java')
-rw-r--r--src/org/traccar/Protocol.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/org/traccar/Protocol.java b/src/org/traccar/Protocol.java
index 5f510b10b..f6a4fbebb 100644
--- a/src/org/traccar/Protocol.java
+++ b/src/org/traccar/Protocol.java
@@ -3,11 +3,6 @@ package org.traccar;
import org.traccar.database.ActiveDevice;
import org.traccar.model.Command;
-import com.cloudhopper.smpp.type.RecoverablePduException;
-import com.cloudhopper.smpp.type.SmppChannelException;
-import com.cloudhopper.smpp.type.SmppTimeoutException;
-import com.cloudhopper.smpp.type.UnrecoverablePduException;
-
import java.util.Collection;
import java.util.List;
@@ -23,7 +18,6 @@ public interface Protocol {
Collection<String> getSupportedSmsCommands();
- void sendSmsCommand(String phone, Command command) throws RecoverablePduException, UnrecoverablePduException,
- SmppTimeoutException, SmppChannelException, InterruptedException;
+ void sendSmsCommand(String phone, Command command) throws Exception;
}