registry-publisher/src/main/java/org/gcube/informationsystem/publisher/stubs/registry/faults/ResourceDoesNotExistExcepti...

27 lines
705 B
Java

package org.gcube.informationsystem.publisher.stubs.registry.faults;
import javax.xml.ws.WebFault;
import org.gcube.informationsystem.publisher.stubs.registry.RegistryStub;
/**
* Thrown by {@link RegistryStub#remove(String, String)} when the resource does not exist in the collector
*/
@WebFault(name = "ResourceDoesNotExistFault")
public class ResourceDoesNotExistException extends RuntimeException {
/**
*
*/
private static final long serialVersionUID = 1L;
/**
* Creates an instance with a given message and an {@link AxisFaultInfo} payload
* @param message the message
* @param info the payload
*/
public ResourceDoesNotExistException(String message) {
super(message);
}
}