package org.jboss.resteasy.links.impl; import org.jboss.resteasy.links.i18n.Messages; import org.jboss.resteasy.spi.Failure; import java.lang.reflect.Method; public class ServiceDiscoveryException extends Failure { public ServiceDiscoveryException(Method m, String s) { super(Messages.MESSAGES.discoveryFailedForMethod(m.getDeclaringClass().getName(), m.getName(), s)); } public ServiceDiscoveryException(Method m, String s, Throwable cause) { super(Messages.MESSAGES.discoveryFailedForMethod(m.getDeclaringClass().getName(), m.getName(), s), cause); } }