1 19 20 package org.netbeans.modules.j2ee.dd.api.common; 21 22 import org.openide.util.NbBundle; 23 28 public class VersionNotSupportedException extends java.lang.Exception { 29 private String version; 30 31 37 public VersionNotSupportedException(String version, String message) { 38 super(message); 39 this.version=version; 40 } 41 46 public VersionNotSupportedException(String version) { 47 super(NbBundle.getMessage(VersionNotSupportedException.class,"MSG_versionNotSupported",version)); 48 this.version=version; 49 } 50 55 public String getVersion() { 56 return version; 57 } 58 } 59 | Popular Tags |