Skip to content
Snippets Groups Projects
Commit 79faa2e8 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

default serialVersionUID added to exceptions

parent 0b8745c8
No related branches found
No related tags found
1 merge request!44Resolve "semantic zoom"
......@@ -2,6 +2,11 @@ package lcsb.mapviewer.api;
public class ObjectNotFoundException extends QueryException {
/**
*
*/
private static final long serialVersionUID = 1L;
public ObjectNotFoundException(String message) {
super(message);
}
......
......@@ -2,6 +2,11 @@ package lcsb.mapviewer.api;
public class QueryException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
public QueryException(String message) {
super(message);
}
......
......@@ -24,7 +24,6 @@ import lcsb.mapviewer.services.UserAccessException;
import lcsb.mapviewer.services.interfaces.IModelService;
import lcsb.mapviewer.services.interfaces.IUserService;
import lcsb.mapviewer.services.search.data.LightReactionView;
import lcsb.mapviewer.services.view.AnnotationViewFactory;
@Transactional(value = "txManager")
public class ReactionsRestImpl extends BaseRestImpl {
......@@ -33,13 +32,13 @@ public class ReactionsRestImpl extends BaseRestImpl {
* Default class logger.
*/
@SuppressWarnings("unused")
private Logger logger = Logger.getLogger(ReactionsRestImpl.class);
private Logger logger = Logger.getLogger(ReactionsRestImpl.class);
@Autowired
private IUserService userService;
private IUserService userService;
@Autowired
private IModelService modelService;
private IModelService modelService;
/**
* @return the userService
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment