/* * 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 UnbekannterArtikelException 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 +"]"); } }