blob: 951e18eb061bdbe8c040d192fac80b7e11c301f4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010-2011 Composent, Inc. 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:
* Composent, Inc. - initial API and implementation
******************************************************************************/
package org.eclipse.ecf.osgi.services.remoteserviceadmin;
import java.util.Arrays;
import java.util.Collection;
import org.eclipse.ecf.core.identity.ID;
public class RemoteReferenceNotFoundException extends Exception {
private static final long serialVersionUID = -4174685192086828376L;
private ID targetID;
private ID[] idFilter;
private Collection<String> interfaces;
private String rsFilter;
public RemoteReferenceNotFoundException(ID targetID, ID[] idFilter,
Collection<String> interfaces, String rsFilter) {
this.targetID = targetID;
this.idFilter = idFilter;
this.interfaces = interfaces;
this.rsFilter = rsFilter;
}
public ID getTargetID() {
return targetID;
}
public ID[] getIdFilter() {
return idFilter;
}
public Collection<String> getInterfaces() {
return interfaces;
}
public String getRsFilter() {
return rsFilter;
}
public String toString() {
return "RemoteReferenceNotFoundException[targetID=" + targetID
+ ", idFilter=" + Arrays.toString(idFilter) + ", interfaces="
+ interfaces + ", rsFilter=" + rsFilter + "]";
}
}