/******************************************************************************* * Copyright (c) 2006-2008, Cloudsmith Inc. * The code, documentation and other materials contained herein have been * licensed under the Eclipse Public License - v 1.0 by the copyright holder * listed above, as the Initial Contributor under such license. The text of * such license is available at www.eclipse.org. ******************************************************************************/ package org.eclipse.buckminster.p2.remote; import java.net.URI; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.equinox.internal.provisional.p2.core.ProvisionException; import org.eclipse.osgi.util.NLS; /** * @author Thomas Hallgren */ public class NoSuchFacadeException extends ProvisionException { private static final long serialVersionUID = -4694863333703417507L; public NoSuchFacadeException(IStatus status) { super(status); } public NoSuchFacadeException(URI serverId, String facadeName) { super(new Status(IStatus.ERROR, Activator.ID, NLS.bind(Messages.noSuchFacade, facadeName, serverId), null)); } }