Added QueryTemplate dedicated exceptions
This commit is contained in:
parent
e635e0817e
commit
6a5c7ae7c1
|
@ -0,0 +1,27 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresentException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public class QueryTemplateAlreadyPresentException extends AlreadyPresentException {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = -3185950257529005913L;
|
||||
|
||||
public QueryTemplateAlreadyPresentException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public QueryTemplateAlreadyPresentException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public QueryTemplateAlreadyPresentException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
/**
|
||||
*
|
||||
*/
|
||||
package org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*/
|
||||
public class QueryTemplateCreationException extends QueryTemplateException {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = 7777044293030289951L;
|
||||
|
||||
public QueryTemplateCreationException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public QueryTemplateCreationException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public QueryTemplateCreationException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*
|
||||
*/
|
||||
public class QueryTemplateException extends ResourceRegistryException {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = 8119058749936021156L;
|
||||
|
||||
public QueryTemplateException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public QueryTemplateException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public QueryTemplateException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,28 @@
|
|||
package org.gcube.informationsystem.resourceregistry.api.exceptions.queries.templates;
|
||||
|
||||
import org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*
|
||||
*/
|
||||
public class QueryTemplateNotFoundException extends NotFoundException {
|
||||
|
||||
/**
|
||||
* Generated Serial Version UID
|
||||
*/
|
||||
private static final long serialVersionUID = 3034336911176161784L;
|
||||
|
||||
public QueryTemplateNotFoundException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public QueryTemplateNotFoundException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public QueryTemplateNotFoundException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue