blob: eb21936b0eaff3f5a00e6b251f4fbf35c785c811 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package exceptions;
import javax.ejb.ApplicationException;
/**
*
* @author Jan
*/
@ApplicationException(rollback=true)
public class IllegalerWertException extends Exception {
public IllegalerWertException(String msg) {
super(msg);
}
public IllegalerWertException(String variablenName, Object wert) {
super("Illegaler Wert: [" + variablenName+ " = " + wert.toString() +"]");
}
}
|