task1/solution02/src/org/apidesign/apifest08/currency/UnsupportedConversionException.java
changeset 6 97662396c0fd
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/task1/solution02/src/org/apidesign/apifest08/currency/UnsupportedConversionException.java	Sun Sep 28 14:12:38 2008 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +package org.apidesign.apifest08.currency;
     1.5 +
     1.6 +/**
     1.7 + * Exception thrown when conversion is not supported.
     1.8 + * @author lukas
     1.9 + *
    1.10 + */
    1.11 +public class UnsupportedConversionException extends IllegalArgumentException {
    1.12 +	private static final long serialVersionUID = 4412475695345865196L;
    1.13 +
    1.14 +	public UnsupportedConversionException() {
    1.15 +		super();
    1.16 +	}
    1.17 +
    1.18 +	public UnsupportedConversionException(String message, Throwable cause) {
    1.19 +		super(message, cause);
    1.20 +	}
    1.21 +
    1.22 +	public UnsupportedConversionException(String s) {
    1.23 +		super(s);
    1.24 +	}
    1.25 +
    1.26 +	public UnsupportedConversionException(Throwable cause) {
    1.27 +		super(cause);
    1.28 +	}
    1.29 +
    1.30 +
    1.31 +}