summaryrefslogtreecommitdiffstats
path: root/java/src/main/java/com/redhat/IdPMapping/InvalidTypeException.java
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2014-11-02 08:39:32 -0500
committerJohn Dennis <jdennis@redhat.com>2014-11-02 08:39:32 -0500
commit2bb10e03b13c7ff2bc821a2e44e3ac33326c62f5 (patch)
treef36b5ac9faff54e2ef4e90899059d20218d88ef8 /java/src/main/java/com/redhat/IdPMapping/InvalidTypeException.java
parent41033bdc860d8b9532e097d49b36521ac705fd56 (diff)
downloadfederated-mapping-2bb10e03b13c7ff2bc821a2e44e3ac33326c62f5.tar.gz
federated-mapping-2bb10e03b13c7ff2bc821a2e44e3ac33326c62f5.tar.xz
federated-mapping-2bb10e03b13c7ff2bc821a2e44e3ac33326c62f5.zip
Initial import of files
Diffstat (limited to 'java/src/main/java/com/redhat/IdPMapping/InvalidTypeException.java')
-rw-r--r--java/src/main/java/com/redhat/IdPMapping/InvalidTypeException.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/java/src/main/java/com/redhat/IdPMapping/InvalidTypeException.java b/java/src/main/java/com/redhat/IdPMapping/InvalidTypeException.java
new file mode 100644
index 0000000..aea0416
--- /dev/null
+++ b/java/src/main/java/com/redhat/IdPMapping/InvalidTypeException.java
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2014 Red Hat
+ * All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.aaa.idpmapping;
+
+/**
+ * Exception thrown when the type of a value is incorrect for a given
+ * context.
+ *
+ * @author John Dennis <jdennis@redhat.com>
+ */
+
+public class InvalidTypeException extends RuntimeException {
+
+ private static final long serialVersionUID = 4437011247503994368L;
+
+ public InvalidTypeException() {}
+
+ public InvalidTypeException(String message) {
+ super(message);
+ }
+
+ public InvalidTypeException(Throwable cause) {
+ super(cause);
+ }
+
+ public InvalidTypeException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}