blob: 3127095afb74eb75e68391b8557b4bd7fa6aa5ef [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
****************************************************************************/
package org.eclipse.gmf.runtime.emf.core.resources;
import org.eclipse.gmf.runtime.emf.core.exceptions.MSLCheckedException;
/**
* Exception indicating failure to refactor a model element as a separate
* resource in a logical resource, possibly because the URI is invalid for
* some reason (such as being read-only).
*
* @author Christian W. Damus (cdamus)
*/
public class CannotSeparateException
extends MSLCheckedException {
private static final long serialVersionUID = 1L;
/**
* Initializes me with a localized, user-friendly message.
*
* @param message the message
*/
public CannotSeparateException(String message) {
super(message);
}
/**
* Initializes me with a localized, user-friendly message and an
* exception that is the cause of the failure to separate.
*
* @param message the message
* @param cause the causing exception
*/
public CannotSeparateException(String message, Throwable cause) {
super(message, cause);
}
}