summaryrefslogtreecommitdiffstats
path: root/java/src/main/java/com/redhat/IdPMapping/InvalidTypeException.java
diff options
context:
space:
mode:
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);
+ }
+}