2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.cdm
.validation
;
11 import javax
.validation
.ConstraintViolation
;
15 * @author ayco_holleman
19 public class ValidationException
extends Exception
{
21 private static final long serialVersionUID
= 4324647930626552152L;
23 public ValidationException(String message
) {
28 public ValidationException(ConstraintViolation
<?
> constraintViolation
) {
29 super(constraintViolation
.getMessage());