protected XMIException toXMIException(SAXParseException e) { XMIException xmiException = new XMIException (e.getException() == null ? e : e.getException(), e.getSystemId() == null ? getLocation() : e.getSystemId(), e.getLineNumber(), e.getColumnNumber()); return xmiException; }
protected XMIException toXMIException(SAXParseException e) { XMIException xmiException = new XMIException (e.getException() == null ? e : e.getException(), e.getSystemId() == null ? getLocation() : e.getSystemId(), e.getLineNumber(), e.getColumnNumber()); return xmiException; }
/** * Set the values for the given multi-valued forward reference. */ protected void setFeatureValues(ManyReference reference) { List<XMIException> xmiExceptions = helper.setManyReference(reference, getLocation()); if (xmiExceptions != null) { for (XMIException exception : xmiExceptions) { error(exception); } } }
/** * Set the values for the given multi-valued forward reference. */ protected void setFeatureValues(ManyReference reference) { List<XMIException> xmiExceptions = helper.setManyReference(reference, getLocation()); if (xmiExceptions != null) { for (XMIException exception : xmiExceptions) { error(exception); } } }
protected void validateCreateObjectFromFactory(EFactory factory, String typeName, EObject newObject) { if (newObject == null) { error (new ClassNotFoundException (typeName, factory, getLocation(), getLineNumber(), getColumnNumber())); } }
protected void validateCreateObjectFromFactory(EFactory factory, String typeName, EObject newObject) { if (newObject == null) { error (new ClassNotFoundException (typeName, factory, getLocation(), getLineNumber(), getColumnNumber())); } }
protected void reportUnknownFeature(String prefix, String name, boolean isElement, EObject peekObject, String value) { if (isElement) { types.push(ERROR_TYPE); } error (new FeatureNotFoundException (name, peekObject, getLocation(), getLineNumber(), getColumnNumber())); }
protected void reportUnknownFeature(String prefix, String name, boolean isElement, EObject peekObject, String value) { if (isElement) { types.push(ERROR_TYPE); } error (new FeatureNotFoundException (name, peekObject, getLocation(), getLineNumber(), getColumnNumber())); }
/** * Set the given feature of the given object to the given value. */ protected void setFeatureValue(EObject object, EStructuralFeature feature, Object value, int position) { try { helper.setValue(object, feature, value, position); } catch (RuntimeException e) { error (new IllegalValueException (object, feature, value, e, getLocation(), getLineNumber(), getColumnNumber())); } }
/** * Set the given feature of the given object to the given value. */ protected void setFeatureValue(EObject object, EStructuralFeature feature, Object value, int position) { try { helper.setValue(object, feature, value, position); } catch (RuntimeException e) { error (new IllegalValueException (object, feature, value, e, getLocation(), getLineNumber(), getColumnNumber())); } }
(new PackageNotFoundException (uriString, getLocation(), getLineNumber(), getColumnNumber()));
(new PackageNotFoundException (uriString, getLocation(), getLineNumber(), getColumnNumber()));
if (ePackage == null) error(new PackageNotFoundException(null, getLocation(), getLineNumber(), getColumnNumber()));
if (ePackage == null) error(new PackageNotFoundException(null, getLocation(), getLineNumber(), getColumnNumber()));
(new PackageNotFoundException (null, getLocation(), getLineNumber(), getColumnNumber()));
(new PackageNotFoundException (null, getLocation(), getLineNumber(), getColumnNumber()));
resolvedEObject, null, getLocation(), getLineNumber(), getColumnNumber())); UnresolvedReferenceException exception = new UnresolvedReferenceException((String) ref.getValue(), getLocation(), ref.getLineNumber(), ref.getColumnNumber()); if (cause != null) if (isEndDocument) UnresolvedReferenceException exception = new UnresolvedReferenceException(id, getLocation(), ref.getLineNumber(), ref.getColumnNumber()); if (cause != null)
resolvedEObject, null, getLocation(), getLineNumber(), getColumnNumber())); UnresolvedReferenceException exception = new UnresolvedReferenceException(ref.getObject(), ref.getFeature(), (String) ref.getValue(), getLocation(), ref.getLineNumber(), ref.getColumnNumber()); if (cause != null) if (isEndDocument) UnresolvedReferenceException exception = new UnresolvedReferenceException(ref.getObject(), ref.getFeature(), id, getLocation(), ref.getLineNumber(), ref.getColumnNumber()); if (cause != null)
(name, null, getLocation(), getLineNumber(), getColumnNumber()));
(name, null, getLocation(), getLineNumber(), getColumnNumber()));