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

javadoc

parent 67d975f5
No related branches found
No related tags found
1 merge request!51Resolve "Submaps tab"
package lcsb.mapviewer.api;
/**
* Thrown when object cannot be found via API.
*
* @author Piotr Gawron
*
*/
public class ObjectNotFoundException extends QueryException {
/**
......@@ -7,10 +13,24 @@ public class ObjectNotFoundException extends QueryException {
*/
private static final long serialVersionUID = 1L;
/**
* Default constructor.
*
* @param message
* error message
*/
public ObjectNotFoundException(String message) {
super(message);
}
/**
* Constructor with error message and parent exception.
*
* @param message
* error message
* @param reason
* parent exception that caused this one
*/
public ObjectNotFoundException(String message, Exception reason) {
super(message, reason);
}
......
package lcsb.mapviewer.api;
/**
* Generic exception thrown when there is a problem with API query.
*
* @author Piotr Gawron
*
*/
public class QueryException extends Exception {
/**
......@@ -7,10 +13,24 @@ public class QueryException extends Exception {
*/
private static final long serialVersionUID = 1L;
/**
* Default constructor.
*
* @param message
* error message
*/
public QueryException(String message) {
super(message);
}
/**
* Constructor with error message and parent exception.
*
* @param message
* error message
* @param reason
* parent exception that caused this one
*/
public QueryException(String message, Exception reason) {
super(message, reason);
}
......
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