1 package org.apache.maven.project;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import java.io.File;
23
24 import org.apache.maven.project.validation.ModelValidationResult;
25
26
27
28
29 @Deprecated
30 public class InvalidProjectModelException
31 extends ProjectBuildingException
32 {
33 private ModelValidationResult validationResult;
34
35 public InvalidProjectModelException( String projectId, String message, File pomLocation )
36 {
37 super( projectId, message, pomLocation );
38 }
39
40
41
42
43
44
45
46
47 public InvalidProjectModelException( String projectId, String pomLocation, String message,
48 ModelValidationResult validationResult )
49 {
50 this( projectId, message, new File( pomLocation ), validationResult );
51 }
52
53 public InvalidProjectModelException( String projectId, String message, File pomFile,
54 ModelValidationResult validationResult )
55 {
56 super( projectId, message, pomFile );
57
58 this.validationResult = validationResult;
59 }
60
61
62
63
64
65
66
67 public InvalidProjectModelException( String projectId, String pomLocation, String message )
68 {
69 this( projectId, message, new File( pomLocation ) );
70 }
71
72 public final ModelValidationResult getValidationResult()
73 {
74 return validationResult;
75 }
76
77 }