summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src/main
diff options
context:
space:
mode:
authorThomas <>2021-02-23 15:55:38 +0100
committerThomas <>2021-02-23 15:55:38 +0100
commitae16000f4c82feff1f4f610d389153ae2e54c016 (patch)
tree81f7d981e4a5a01bd9252d31ff104ef3b4a2bb8e /eaaf_core_api/src/main
parent18d972fa54b63fd4d7392f64b3b827eb4d2786db (diff)
downloadEAAF-Components-ae16000f4c82feff1f4f610d389153ae2e54c016.tar.gz
EAAF-Components-ae16000f4c82feff1f4f610d389153ae2e54c016.tar.bz2
EAAF-Components-ae16000f4c82feff1f4f610d389153ae2e54c016.zip
use internal-to-external error mapping for GUI
Diffstat (limited to 'eaaf_core_api/src/main')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/IStatusMessenger.java2
1 files changed, 2 insertions, 0 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..28d21d89 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
@@ -64,6 +64,7 @@ public interface IStatusMessenger {
* @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);
}