task1/solution02/src/org/apidesign/apifest08/currency/UnsupportedConversionException.java
author japod@localhost
Sun, 28 Sep 2008 14:12:38 +0200
changeset 6 97662396c0fd
permissions -rw-r--r--
Adding solutions received for task1
japod@6
     1
package org.apidesign.apifest08.currency;
japod@6
     2
japod@6
     3
/**
japod@6
     4
 * Exception thrown when conversion is not supported.
japod@6
     5
 * @author lukas
japod@6
     6
 *
japod@6
     7
 */
japod@6
     8
public class UnsupportedConversionException extends IllegalArgumentException {
japod@6
     9
	private static final long serialVersionUID = 4412475695345865196L;
japod@6
    10
japod@6
    11
	public UnsupportedConversionException() {
japod@6
    12
		super();
japod@6
    13
	}
japod@6
    14
japod@6
    15
	public UnsupportedConversionException(String message, Throwable cause) {
japod@6
    16
		super(message, cause);
japod@6
    17
	}
japod@6
    18
japod@6
    19
	public UnsupportedConversionException(String s) {
japod@6
    20
		super(s);
japod@6
    21
	}
japod@6
    22
japod@6
    23
	public UnsupportedConversionException(Throwable cause) {
japod@6
    24
		super(cause);
japod@6
    25
	}
japod@6
    26
japod@6
    27
japod@6
    28
}