/* * AppException.java * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package kernel; /** * Global exception in application * * @author Jan Horky * @since 1.12.2008 * @version 0.0 */ @SuppressWarnings("serial") public class AppException extends Exception { /** Creates a new instance of AppException */ public AppException(String message) { super(message); } /** Creates a new instance of AppException */ public AppException(String message, Exception exception) { super(message); this.setStackTrace(exception.getStackTrace()); } }