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