⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jooneruntimeexception.java

📁 一个纯java写的神经网络源代码
💻 JAVA
字号:
package org.joone.exception;/** * This is a wrapper class for the <code>Exception</code> thrown by  * the application. *  * @see java.lang.Exception * @author tsmets */public class JooneRuntimeException     extends RuntimeException {    private Throwable initialException = null;    private String msg = null;        /**     * Constructor for JooneRuntimeException.     *      * @param aMessage to be displayed.     */    public JooneRuntimeException (String aMessage)     {        super (aMessage);    }	/**	 * Constructor for JooneRunTimeException.     * @param anInitialException When applying the Original Exception that was thrown.	 */	public JooneRuntimeException (Throwable anInitialException)     {		super();        initialException = anInitialException;        	}	/**	 * Constructor for JooneRunTimeException.     * 	 * @param aMessage The message explaining the origin of the Exception     * @param anInitialException When applying the Original Exception that was thrown.     * 	 */	public JooneRuntimeException (String aMessage, Throwable anInitialException)     {		super ( aMessage );        initialException = anInitialException;                	}        	/**	 * @see java.lang.Throwable#getLocalizedMessage()	 */	public String getLocalizedMessage ()     {		return super.getLocalizedMessage( );	}	/**	 * @see java.lang.Throwable#getMessage()	 */	public String getMessage()     {		StringBuffer buf = new StringBuffer (super.getMessage());        // TO DO         // Provide a properly formatted Message.        // The Message building procedure should hold consideration that         // the Exception may not have a reference to a RTE...        //         return buf.toString ();	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -