diff options
author | Björn Hagemeister | 2014-10-01 15:43:49 +0200 |
---|---|---|
committer | Björn Hagemeister | 2014-10-01 15:43:49 +0200 |
commit | 0bd4f9b56d399349b909060a7af4121559b99ccb (patch) | |
tree | 5320d53a0777f3efb3dcfc56105cfb53d8a87713 /src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java | |
parent | Removed unneseccary try - catch - blocks. (diff) | |
download | satellite-daemon-0bd4f9b56d399349b909060a7af4121559b99ccb.tar.gz satellite-daemon-0bd4f9b56d399349b909060a7af4121559b99ccb.tar.xz satellite-daemon-0bd4f9b56d399349b909060a7af4121559b99ccb.zip |
Completed exception handling (ThriftConnection) plus completed properties checks (Globals).
Diffstat (limited to 'src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java')
-rw-r--r-- | src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java b/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java index cd1054a..37c4ebd 100644 --- a/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java +++ b/src/main/java/org/openslx/satellitedaemon/filetransfer/ThriftConnection.java @@ -95,8 +95,8 @@ public class ThriftConnection // SessionID is not valid // TODO: Code for new SSID } else if ( e.getNumber().equals( AuthorizationError.NO_PERMISSION ) ) { - // not yet implemented. - + log.error( "No permission for uploading.", e ); + // TODO: add error message into database. } else { e.printStackTrace(); } @@ -181,6 +181,7 @@ public class ThriftConnection // TODO: Code for new SSID } else if ( e.getNumber().equals( AuthorizationError.NO_PERMISSION ) ) { log.error( "No permission error.", e ); + // TODO: add e.message into database. } else { e.printStackTrace(); } |