blob: 99d33c5908f823bcc3ff9dee1c0ef9c4757114a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Created on 18-Jul-2004
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package insurance.model.validation;
import java.util.List;
/**
* @author AndyClement
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class SIValidationException extends RuntimeException {
private List validationErrors;
public SIValidationException(BusinessRulesValidation.RequiresValidation obj,java.util.List validationErrors) {
super("Business object " + obj + " failed validation");
this.validationErrors = validationErrors;
}
public List getValidationErrors() {
return validationErrors;
}
}
|