【Java开源代码栏目提醒】:以下是网学会员为您推荐的Java开源代码-CurrencyConversionException.java,希望本篇文章对您学习有所帮助。
/* -*- mode: Java; fill-column: 72 -*-
* The contents of this file are subject to the ClickBlocks Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.clickblocks.org
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied, including, but not limited to, the implied warranties of
* merchantability, fitness for a particular purpose and
* non-infringement. See the License for the specific language
* governing rights and limitations under the License.
*
* ClickBlocks, the ClickBlocks logo and combinations thereof are
* trademarks of ClickBlocks, LLC in the United States and other
* countries.
*
* The Initial Developer of the Original Code is ClickBlocks, LLC.
* Portions created by ClickBlocks, LLC are Copyright (C) 2000.
* All Rights Reserved.
*/
/**
* $Log: CurrencyConversionException.java,v $
* Revision 1.3 2000/11/14 12:26:04 mgrand
* Moved to clickblocks packages.
*
* Revision 1.2 2000/11/03 10:26:00 mgrand
* moved to clickblocks package structure.
*
* Revision 1.1.1.1 2000/10/30 01:37:45 mgrand
* reestablished local repository
*/
package org.clickblocks.util;
/**
* This exception is thrown to indicate that an attempt to convert
* between two currencies failed.
* @author Mark Grand
* @stereotype exception
*/
public class CurrencyConversionException extends BusinessRuleException {
/**
* Constructs an <code>Exception</code> with the specified detail message.
* @param source the exception source, usually a ClickBlocks class
* @param msg The message to associate with this exception.
*/
public CurrencyConversionException(String source, String msg) {
super(source, msg);
} // constructor(String, String)
} // class CurrencyConversionException