summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2021-02-24 10:01:51 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2021-02-24 10:01:51 +0100
commit54736c76e0ce7187915ccf9dec7573c0ab12d0a8 (patch)
treea1a0731632555084fb2deef2a2ca696ad31b8041 /eaaf_core_api/src
parentbeb781fc5196ee4f630fe7d5c48617de5cf9f184 (diff)
parentda964d59a926c23ef6a14210b59de30742e1e45c (diff)
downloadEAAF-Components-54736c76e0ce7187915ccf9dec7573c0ab12d0a8.tar.gz
EAAF-Components-54736c76e0ce7187915ccf9dec7573c0ab12d0a8.tar.bz2
EAAF-Components-54736c76e0ce7187915ccf9dec7573c0ab12d0a8.zip
Merge branch 'feature/small_changes' into 'nightlyBuild'
Feature/small changes See merge request egiz/eaaf_components!19
Diffstat (limited to 'eaaf_core_api/src')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IStatusMessenger.java4
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/services/IProtocolAuthenticationService.java1
2 files changed, 4 insertions, 1 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IStatusMessenger.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IStatusMessenger.java
index bbaf86d3..daf2f6ff 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IStatusMessenger.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IStatusMessenger.java
@@ -59,11 +59,12 @@ public interface IStatusMessenger {
String getMessageWithoutDefault(String messageId, Object[] parameters);
/**
- * Get external errorCode from from Exception.
+ * Get internal errorCode from from Exception.
*
* @param throwable Reason of error
* @return external error code
*/
+ @Nonnull
String getResponseErrorCode(Throwable throwable);
/**
@@ -72,6 +73,7 @@ public interface IStatusMessenger {
* @param intErrorCode internal error code
* @return external error code
*/
+ @Nonnull
String mapInternalErrorToExternalError(String intErrorCode);
}
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/services/IProtocolAuthenticationService.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/services/IProtocolAuthenticationService.java
index 2c0fe55f..6580fa30 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/services/IProtocolAuthenticationService.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/idp/auth/services/IProtocolAuthenticationService.java
@@ -34,6 +34,7 @@ public interface IProtocolAuthenticationService {
String PARAM_GUI_ERROMSG = "errorMsg";
String PARAM_GUI_ERRORCODE = "errorCode";
+ String PARAM_GUI_EXTERNAL_ERRORCODE = "extErrorCode";
String PARAM_GUI_ERRORCODEPARAMS = "errorParams";
String PARAM_GUI_ERRORSTACKTRACE = "stacktrace";