/**
   * Removes the specified {@link org.eclipse.emf.mapping.Mapping}.
   *
   * @param theMappingClass the <code>Mapping</code> input
   * @param theTreeNode the <code>Mapping</code> output
   * @throws IllegalArgumentException if either input parameter is <code>null</code>
   */
  public void removeMappingClassLocation(MappingClass theMappingClass, EObject theTreeNode) {
    CoreArgCheck.isNotNull(theMappingClass);
    CoreArgCheck.isNotNull(theTreeNode);

    try {
      mappingLocator.removeOutputLocation(theMappingClass, theTreeNode);
    } catch (Exception e) {
      Util.log(
          IStatus.ERROR,
          e,
          Util.getString(
              PREFIX + "removeLocationTreeNodeNotFound", // $NON-NLS-1$
              new Object[] {
                theTreeNode,
                "MappingClass", //$NON-NLS-1$
                theMappingClass
              }));
    }
  }