41 lines
874 B
Java
41 lines
874 B
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.vremanagement.executor.exception;
|
|
|
|
import org.gcube.vremanagement.executor.json.SEMapper;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
*
|
|
*/
|
|
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = SEMapper.CLASS_PROPERTY)
|
|
public class ExecutorException extends Exception {
|
|
|
|
/**
|
|
* Generated Serial Version UID
|
|
*/
|
|
private static final long serialVersionUID = 150353533672078736L;
|
|
|
|
private static final String DEFAULT_MESSAGE = "Executor Exception";
|
|
|
|
public ExecutorException() {
|
|
super(DEFAULT_MESSAGE);
|
|
}
|
|
|
|
public ExecutorException(Throwable cause) {
|
|
this(DEFAULT_MESSAGE, cause);
|
|
}
|
|
|
|
public ExecutorException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
public ExecutorException(String message, Throwable cause){
|
|
super(message, cause);
|
|
}
|
|
|
|
}
|