1
|
package eu.dnetlib.api.functionality;
|
2
|
|
3
|
/**
|
4
|
* This exception is thrown by notification service if any errors occur.
|
5
|
* @author thanos@di.uoa.gr
|
6
|
* @see NotificationService
|
7
|
*
|
8
|
*/
|
9
|
public class NotificationServiceException extends Exception {
|
10
|
private static final long serialVersionUID = 1L;
|
11
|
|
12
|
/**
|
13
|
* Construct a new notification service exception with the specified message and cause.
|
14
|
* @param message the message
|
15
|
* @param cause the cause
|
16
|
*/
|
17
|
public NotificationServiceException(final String message, final Throwable cause) {
|
18
|
super(message, cause);
|
19
|
}
|
20
|
|
21
|
/**
|
22
|
* Construct a new notification service exception with the specified message.
|
23
|
* @param message the message
|
24
|
*/
|
25
|
public NotificationServiceException(final String message) {
|
26
|
super(message);
|
27
|
}
|
28
|
}
|