summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExceptionContainer.java
diff options
context:
space:
mode:
Diffstat (limited to 'eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExceptionContainer.java')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExceptionContainer.java27
1 files changed, 17 insertions, 10 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExceptionContainer.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExceptionContainer.java
index 69268562..80c7094c 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExceptionContainer.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/ExceptionContainer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/*
* Copyright 2017 Graz University of Technology EAAF-Core Components has been developed in a
* cooperation between EGIZ, A-SIT Plus, A-SIT, and Graz University of Technology.
*
@@ -11,15 +11,12 @@
* is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the Licence for the specific language governing permissions and limitations under
* the Licence.
- *
+ *
* This product combines work with different licenses. See the "NOTICE" text file for details on the
* various modules and licenses. The "NOTICE" text file is part of the distribution. Any derivative
* works that you distribute must include a readable copy of the "NOTICE" text file.
- *******************************************************************************/
-/*******************************************************************************
- *******************************************************************************/
-/*******************************************************************************
- *******************************************************************************/
+*/
+
package at.gv.egiz.eaaf.core.api.data;
import java.io.Serializable;
@@ -27,6 +24,8 @@ import java.io.Serializable;
import at.gv.egiz.eaaf.core.api.IRequest;
/**
+ * AuthProcess exception containter for Front-Channel exception handling.
+ *
* @author tlenz
*
*/
@@ -36,9 +35,11 @@ public class ExceptionContainer implements Serializable {
private Throwable exceptionThrown = null;
private IRequest pendingReq = null;
-
/**
+ * Create an exception container.
*
+ * @param pendingReq Pending request that has an exception
+ * @param exception error
*/
public ExceptionContainer(final IRequest pendingReq, final Throwable exception) {
this.pendingReq = pendingReq;
@@ -47,6 +48,8 @@ public class ExceptionContainer implements Serializable {
}
/**
+ * Get the error.
+ *
* @return the exceptionThrown
*/
public Throwable getExceptionThrown() {
@@ -59,6 +62,8 @@ public class ExceptionContainer implements Serializable {
}
/**
+ * Get the unique sessionId for this error.
+ *
* @return the uniqueSessionID
*/
public String getUniqueSessionID() {
@@ -70,6 +75,8 @@ public class ExceptionContainer implements Serializable {
}
/**
+ * Get the unique transactionId for this error.
+ *
* @return the uniqueTransactionID
*/
public String getUniqueTransactionID() {
@@ -81,6 +88,8 @@ public class ExceptionContainer implements Serializable {
}
/**
+ * Get the service-provider identifier.
+ *
* @return the uniqueServiceProviderId
*/
public String getUniqueServiceProviderId() {
@@ -91,6 +100,4 @@ public class ExceptionContainer implements Serializable {
}
}
-
-
}