cdmlib/cdmlib-model/src/main/java/eu/etaxonomy/cdm/validation/ValidationException.java @ 57157341
1 |
package eu.etaxonomy.cdm.validation; |
---|---|
2 |
|
3 |
import javax.validation.ConstraintViolation; |
4 |
|
5 |
public class ValidationException extends Exception { |
6 |
|
7 |
|
8 |
public ValidationException(String message){ |
9 |
super(message); |
10 |
|
11 |
}
|
12 |
|
13 |
public ValidationException(ConstraintViolation constraintViolation){ |
14 |
super(constraintViolation.getMessage()); |
15 |
}
|
16 |
}
|
- « Previous
- 1
- 2
- 3
- Next »