Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-10-28 19:34:01 +0000
committerRyan D. Brooks2010-10-28 19:34:01 +0000
commit46db63e6e1035c75e2fb8746575592510c71041a (patch)
tree820b2214d9dd4f8ebed1189ad30e106a809f7f5b /plugins/org.eclipse.osee.framework.core.client
parent14bc67c75075467b14caf3134a7565b4231a718f (diff)
downloadorg.eclipse.osee-46db63e6e1035c75e2fb8746575592510c71041a.tar.gz
org.eclipse.osee-46db63e6e1035c75e2fb8746575592510c71041a.tar.xz
org.eclipse.osee-46db63e6e1035c75e2fb8746575592510c71041a.zip
refinement: Improve exception logging during session creation
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.client')
-rw-r--r--plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/internal/InternalClientSessionManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/internal/InternalClientSessionManager.java b/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/internal/InternalClientSessionManager.java
index a1acda8b2a2..bf0446b12ee 100644
--- a/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/internal/InternalClientSessionManager.java
+++ b/plugins/org.eclipse.osee.framework.core.client/src/org/eclipse/osee/framework/core/client/internal/InternalClientSessionManager.java
@@ -210,6 +210,9 @@ public class InternalClientSessionManager {
HttpProcessor.post(new URL(url), asInputStream(credential), "text/xml", "UTF-8", outputStream);
if (result.getCode() == HttpURLConnection.HTTP_ACCEPTED) {
session = fromEncryptedBytes(outputStream.toByteArray());
+ } else {
+ throw new OseeCoreException("Error during create session request - code [%s]\n%s", result.getCode(),
+ outputStream.toString());
}
return session;
}

Back to the top