01: package org.nemesis.forum.exception;
02:
03: /**
04: * Thrown when a record is attempted to be created that duplicates
05: * previously created unique object information.
06: */
07: public class AlreadyExistsException extends ForumException {
08:
09: /**
10: * Constructor for UserAlreadyExistsException.
11: */
12: public AlreadyExistsException() {
13: super ();
14: }
15:
16: /**
17: * Constructor for UserAlreadyExistsException.
18: * @param message
19: */
20: public AlreadyExistsException(String message) {
21: super (message);
22: }
23:
24: /**
25: * Constructor for UserAlreadyExistsException.
26: * @param message
27: * @param cause
28: */
29: public AlreadyExistsException(String message, Throwable cause) {
30: super (message, cause);
31: }
32:
33: /**
34: * Constructor for UserAlreadyExistsException.
35: * @param cause
36: */
37: public AlreadyExistsException(Throwable cause) {
38: super(cause);
39: }
40:
41: }
|