| 1 | /* |
| 2 | * Copyright (c) 2005 The PseudoQ Project. |
| 3 | * |
| 4 | * This file is part of PseudoQ. |
| 5 | * |
| 6 | * PseudoQ is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU Lesser General Public License as published by |
| 8 | * the Free Software Foundation; either version 2.1 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * PseudoQ is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU Lesser General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU Lesser General Public License |
| 17 | * along with PseudoQ; if not, write to the Free Software |
| 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ |
| 20 | |
| 21 | package net.sourceforge.pseudoq.model; |
| 22 | |
| 23 | /** |
| 24 | * |
| 25 | * @author <a href="http://sourceforge.net/users/stevensa">Andrew Stevens</a> |
| 26 | */ |
| 27 | public class ConstraintViolationException extends java.lang.Exception { |
| 28 | |
| 29 | /** |
| 30 | * Creates a new instance of <code>ConstraintViolationException</code> without detail message. |
| 31 | */ |
| 32 | public ConstraintViolationException() { |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * Constructs an instance of <code>ConstraintViolationException</code> with the specified detail message. |
| 37 | * @param msg the detail message. |
| 38 | */ |
| 39 | public ConstraintViolationException(String msg) { |
| 40 | super(msg); |
| 41 | } |
| 42 | |
| 43 | } |