changed error messages
This commit is contained in:
parent
e3b45dbd9a
commit
2bbd040f4d
|
@ -32,7 +32,7 @@ public class Relaisboard implements IRelaisboard {
|
||||||
|
|
||||||
outputStream.flush();
|
outputStream.flush();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
Logger.sLog("Fehler beim Senden");
|
Logger.sLog("Relaisboard error: Fehler beim Senden");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,11 +75,11 @@ public class Relaisboard implements IRelaisboard {
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
} catch (PortInUseException e) {
|
} catch (PortInUseException e) {
|
||||||
Logger.sLog("Port belegt");
|
Logger.sLog("Relaisboard error: Port belegt " + portName);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
Logger.sLog("Keinen Zugriff auf OutputStream");
|
Logger.sLog("Relaisboard error: Keinen Zugriff auf OutputStream");
|
||||||
} catch(UnsupportedCommOperationException e) {
|
} catch(UnsupportedCommOperationException e) {
|
||||||
Logger.sLog("Konnte Schnittstellen-Paramter nicht setzen");
|
Logger.sLog("Relaisboard error: Konnte Schnittstellen-Paramter nicht setzen");
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue