1 package org.apache.maven.plugin.ear.util;
2
3 import org.apache.maven.plugin.MojoExecutionException;
4
5 /**
6 * @author Stephane Nicoll
7 */
8 public class InvalidJavaEEVersion extends MojoExecutionException {
9
10 private final String invalidVersion;
11
12 public InvalidJavaEEVersion( String message, String invalidVersion )
13 {
14 super( message );
15 this.invalidVersion = invalidVersion;
16 }
17
18 public String getInvalidVersion()
19 {
20 return invalidVersion;
21 }
22 }