1 17 package org.eclipse.emf.ecore.xmi; 18 19 import org.eclipse.emf.ecore.EObject; 20 import org.eclipse.emf.ecore.EStructuralFeature; 21 22 public class IllegalValueException extends XMIException 23 { 24 protected transient EObject object; 25 protected transient EStructuralFeature feature; 26 protected transient Object value; 27 28 public IllegalValueException 29 (EObject object, EStructuralFeature feature, Object value, Exception emfException, String location, int line, int column) 30 { 31 super("Value '" + value + "' is not legal.", emfException, location, line, column); 32 this.object = object; 33 this.feature = feature; 34 this.value = value; 35 } 36 37 public EObject getObject() 38 { 39 return object; 40 } 41 42 public EStructuralFeature getFeature() 43 { 44 return feature; 45 } 46 47 public Object getValue() 48 { 49 return value; 50 } 51 } 52 | Popular Tags |