1 17 package org.apache.servicemix.jbi; 18 19 import javax.jbi.servicedesc.ServiceEndpoint; 20 import javax.xml.namespace.QName ; 21 22 27 public class NoServiceEndpointAvailableException extends NoEndpointAvailableException { 28 private QName serviceName; 29 private String endpointName; 30 31 public NoServiceEndpointAvailableException(QName serviceName, String endpointName) { 32 super("Cannot find an instance of the service: " + serviceName + " and endpoint: " + endpointName); 33 this.serviceName = serviceName; 34 this.endpointName = endpointName; 35 } 36 37 40 public QName getServiceName() { 41 return serviceName; 42 } 43 44 47 public String getEndpointName() { 48 return endpointName; 49 } 50 } 51 | Popular Tags |