Code example for Currency

Methods: toString

0
 * @author Glenn Heinze <glenn@gheinze.com> 
 */ 
public class CurrencyMismatchRuntimeException extends RuntimeException {
     
    public CurrencyMismatchRuntimeException(Currency base, Currency operand) {
        super(String.format("Currency mismatch: [%s, %s]", base.toString(), operand.toString()));
    } 
     
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE