2013-01-10 14:19:53 +01:00
|
|
|
package org.gcube.portal.databook.shared.ex;
|
|
|
|
|
2017-01-25 16:38:50 +01:00
|
|
|
|
2013-01-10 14:19:53 +01:00
|
|
|
@SuppressWarnings("serial")
|
2023-10-28 01:38:25 +02:00
|
|
|
public class PostIDNotFoundException extends Exception {
|
|
|
|
public PostIDNotFoundException(String message, String postId) {
|
2018-03-16 11:14:01 +01:00
|
|
|
super("The Post having id: " + postId + " is not present in the database: " + message);
|
2013-01-10 14:19:53 +01:00
|
|
|
}
|
|
|
|
}
|