1 17 package org.eclipse.emf.ecore.xmi; 18 19 import org.eclipse.emf.ecore.EObject; 20 21 public class FeatureNotFoundException extends XMIException 22 { 23 protected String featureName; 24 protected transient EObject object; 25 26 public FeatureNotFoundException(String name, EObject object, String location, int line, int column) 27 { 28 super("Feature '" + name + "' not found.", location, line, column); 29 featureName = name; 30 this.object = object; 31 } 32 33 public String getName() 34 { 35 return featureName; 36 } 37 38 public EObject getObject() 39 { 40 return object; 41 } 42 } 43 | Popular Tags |