summaryrefslogtreecommitdiff
path: root/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFServiceException.java
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2019-04-11 09:44:41 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2019-04-11 09:44:41 +0200
commite19d3485c7ea0eb1cd877d52009e6efc932ce246 (patch)
treec2b14daa18b1d3ad6a7e5d5c32a1405bdb9a2cdb /eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFServiceException.java
parent61d276832ebcf1901183dab323126f8ecb6a7370 (diff)
downloadEAAF-Components-e19d3485c7ea0eb1cd877d52009e6efc932ce246.tar.gz
EAAF-Components-e19d3485c7ea0eb1cd877d52009e6efc932ce246.tar.bz2
EAAF-Components-e19d3485c7ea0eb1cd877d52009e6efc932ce246.zip
add some utils and new exceptions
Diffstat (limited to 'eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFServiceException.java')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFServiceException.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFServiceException.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFServiceException.java
new file mode 100644
index 00000000..309834a2
--- /dev/null
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFServiceException.java
@@ -0,0 +1,30 @@
+package at.gv.egiz.eaaf.core.exceptions;
+
+import org.springframework.lang.NonNull;
+
+public abstract class EAAFServiceException extends EAAFException {
+
+ private static final long serialVersionUID = -867758153828290337L;
+
+ public EAAFServiceException(String errorId, Object[] params) {
+ super(errorId, params);
+
+ }
+
+ public EAAFServiceException(String errorId, Object[] params, Throwable e) {
+ super(errorId, params, e);
+
+ }
+
+ /**
+ * Get a textual identifier of the service that throws this exception
+ *
+ * @return
+ */
+ @NonNull
+ protected abstract String getServiceIdentifier();
+
+
+
+
+}