diff options
Diffstat (limited to 'java/src/main/java/com/redhat/IdPMapping/InvalidValueException.java')
-rw-r--r-- | java/src/main/java/com/redhat/IdPMapping/InvalidValueException.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/java/src/main/java/com/redhat/IdPMapping/InvalidValueException.java b/java/src/main/java/com/redhat/IdPMapping/InvalidValueException.java new file mode 100644 index 0000000..1524b4f --- /dev/null +++ b/java/src/main/java/com/redhat/IdPMapping/InvalidValueException.java @@ -0,0 +1,34 @@ +/* + * 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 a value cannot be used in a given context. + * + * @author John Dennis <jdennis@redhat.com> + */ + +public class InvalidValueException extends RuntimeException { + + private static final long serialVersionUID = -2351651535772692180L; + + public InvalidValueException() {} + + public InvalidValueException(String message) { + super(message); + } + + public InvalidValueException(Throwable cause) { + super(cause); + } + + public InvalidValueException(String message, Throwable cause) { + super(message, cause); + } +} |