changed error messages

This commit is contained in:
Lucas Pleß 2012-06-10 21:39:42 +02:00
parent e3b45dbd9a
commit 2bbd040f4d
1 changed files with 4 additions and 4 deletions

View File

@ -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;