summaryrefslogtreecommitdiffstats
path: root/Master/Daten- und Systemintegration/Praktikum/DSI-Praktikum-1_ausgang/DSI1-ausgang/DSI-ejb/src/java/exceptions/UnbekanntesEntityException.java
blob: 0d1c40597a996aca9882d3622471ced4f7a223cb (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
27
28
29
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package exceptions;

import javax.ejb.ApplicationException;

/**
 *
 * @author jmueller
 */
@ApplicationException(rollback=true)
public class UnbekanntesEntityException extends Exception {

    /**
     * Constructs an instance of <code>UnbekannterArtikelException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public UnbekanntesEntityException(String msg) {
        super(msg);
    }
    
    public UnbekanntesEntityException(String typ, long id) {
        super("Unbekanntes Entity vom Typ: " + typ + " [id="+ id +"]");
    }

}