1 package de.fhdw.wtf.persistence.exception;
2
3 /**
4 * Fehler falls ein nicht g�ltige Operation asgef�hrt wurde.
5 */
6 public class NotValidOperationException extends PersistenceException {
7
8 /**
9 * Error nummer of the Oracle UserException.
10 */
11 public static final long ERRORCODE = 20004;
12 /**
13 * the message of the exception.
14 */
15 private static final String MESSAGE = "The called Operation is invalid: ";
16 /**
17 *
18 */
19 private static final long serialVersionUID = 1L;
20
21 /**
22 * Constructor for a new NotValidOperationException.
23 *
24 * @param e
25 * Description of the error.
26 */
27 public NotValidOperationException(final String e) {
28 super(MESSAGE + e, null);
29 }
30
31 }