legacy-is-publisher-connector/src/main/java/org/gcube/common/core/publisher/is/legacy/stubs/fault/InvalidResourceException.java

33 lines
743 B
Java

package org.gcube.common.core.publisher.is.legacy.stubs.fault;
import org.gcube.common.core.publisher.is.legacy.stubs.RegistryStub;
import jakarta.xml.ws.WebFault;
/**
* Thrown by {@link RegistryStub#create(String, String)} when the resource type is invalid
* service.
*/
@WebFault(name = "InvalidResourceFault")
public class InvalidResourceException 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 InvalidResourceException(String message) {
super(message);
}
public InvalidResourceException(Exception e1) {
super(e1);
}
}