Project

General

Profile

1
package eu.dnetlib.api.functionality;
2

    
3
import eu.dnetlib.api.DriverServiceException;
4

    
5
/**
6
 * This exception is thrown by forum service on any error.
7
 * @author thanos@di.uoa.gr
8
 *
9
 */
10
public class ForumServiceException extends DriverServiceException {
11
	/**
12
	 * Used for serialization / deserialization
13
	 */
14
	private static final long serialVersionUID = -8624823395470214377L;
15

    
16
	/**
17
	 * Create a new forum service exception.
18
	 */
19
	public ForumServiceException() {
20
		super();
21
	}
22
	
23
	/**
24
	 * Create a new forum service exception with the specified error message.
25
	 * @param message the error message
26
	 */
27
	public ForumServiceException(String message) {
28
		super(message);
29
	}
30
	
31
	/**
32
	 * Create a new forum service exception with the specified cause.
33
	 * @param cause the cause
34
	 */
35
	public ForumServiceException(Throwable cause) {
36
		super(cause);
37
	}
38
	
39
	/**
40
	 * Create a new forum service exception with the specified error message and cause.
41
	 * @param message the error message
42
	 * @param cause the cause
43
	 */
44
	public ForumServiceException(String message, Throwable cause) {
45
		super(message, cause);
46
	}
47
}
(10-10/23)