Rev 444 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | fvelez | 1 | package pt.estgp.estgweb.services.expceptions; |
2 | |||
3 | |||
4 | public class AlreadyExistsException extends ServiceException |
||
5 | { |
||
444 | jmachado | 6 | public static final 1.5.0/docs/api/java/lang/String.html">String ALREADY_EXISTS_COURSE = "course"; |
1 | fvelez | 7 | public static final 1.5.0/docs/api/java/lang/String.html">String ALREADY_EXISTS_USERNAME = "username"; |
8 | public static final 1.5.0/docs/api/java/lang/String.html">String ALREADY_EXISTS_EMAIL = "email"; |
||
9 | |||
10 | public AlreadyExistsException(1.5.0/docs/api/java/lang/String.html">String msg) |
||
11 | { |
||
12 | super(msg); |
||
13 | } |
||
14 | |||
15 | public AlreadyExistsException(1.5.0/docs/api/java/lang/String.html">String msg,1.5.0/docs/api/java/lang/Throwable.html">Throwable cause) |
||
16 | { |
||
17 | super(msg,cause); |
||
18 | } |
||
19 | /** |
||
20 | * Gets the original exception thrown by the executed service. The same as <code>getCause<code>. |
||
21 | * @return the exception service has thrown |
||
22 | */ |
||
23 | } |