summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/ex
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/gv/util/ex')
-rw-r--r--src/main/java/at/gv/util/ex/EgovUtilException.java41
-rw-r--r--src/main/java/at/gv/util/ex/InternalErrorException.java45
2 files changed, 86 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/ex/EgovUtilException.java b/src/main/java/at/gv/util/ex/EgovUtilException.java
new file mode 100644
index 0000000..172fec1
--- /dev/null
+++ b/src/main/java/at/gv/util/ex/EgovUtilException.java
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2011 Federal Chancellery Austria and
+ * Graz University of Technology
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package at.gv.util.ex;
+
+public class EgovUtilException extends Exception {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1L;
+
+ public EgovUtilException() {
+ }
+
+ public EgovUtilException(String message) {
+ super(message);
+ }
+
+ public EgovUtilException(Throwable cause) {
+ super(cause);
+ }
+
+ public EgovUtilException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+}
diff --git a/src/main/java/at/gv/util/ex/InternalErrorException.java b/src/main/java/at/gv/util/ex/InternalErrorException.java
new file mode 100644
index 0000000..01e3504
--- /dev/null
+++ b/src/main/java/at/gv/util/ex/InternalErrorException.java
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2011 Federal Chancellery Austria and
+ * Graz University of Technology
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package at.gv.util.ex;
+
+/**
+ * Internal error exception.
+ *
+ * @author <a href="mailto:Arne.Tauber@egiz.gv.at">Arne Tauber</a>
+ *
+ */
+public class InternalErrorException extends RuntimeException {
+
+ private static final long serialVersionUID = 1L;
+
+ public InternalErrorException() {
+ super();
+ }
+
+ public InternalErrorException(Exception exception) {
+ super(exception);
+ }
+
+ public InternalErrorException(String message, Exception exception) {
+ super(message, exception);
+ }
+
+ public InternalErrorException(String message) {
+ super(message);
+ }
+
+}