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