2018-06-05 10:18:01 +02:00
|
|
|
package eu.eudat.core.models.exception;
|
|
|
|
|
|
|
|
import eu.eudat.core.models.LoggingModel;
|
|
|
|
|
2018-06-27 12:29:21 +02:00
|
|
|
import java.util.Map;
|
|
|
|
|
2018-06-05 10:18:01 +02:00
|
|
|
/**
|
|
|
|
* Created by ikalyvas on 5/30/2018.
|
|
|
|
*/
|
2018-06-27 12:29:21 +02:00
|
|
|
public class ExceptionLoggingModel<E extends Exception> extends LoggingModel<Map<String, E>> {
|
|
|
|
private final String indexType = "exception-logging";
|
|
|
|
|
|
|
|
public String getIndexType() {
|
|
|
|
return indexType;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Map<String, E> getData() {
|
|
|
|
return super.getData();
|
|
|
|
}
|
2018-06-05 10:18:01 +02:00
|
|
|
}
|