task2/solution07/src/org/apidesign/apifest08/currency/IllegalRequestSubtypeException.java
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/task2/solution07/src/org/apidesign/apifest08/currency/IllegalRequestSubtypeException.java Wed Oct 01 10:43:05 2008 +0200
1.3 @@ -0,0 +1,30 @@
1.4 +/*
1.5 + * To change this template, choose Tools | Templates
1.6 + * and open the template in the editor.
1.7 + */
1.8 +
1.9 +package org.apidesign.apifest08.currency;
1.10 +
1.11 +/**
1.12 + * Rised when a {@link Convertor} implementation cannot handle a particular subtype of {@link Convertor.ConversionRequest}.
1.13 + * @author jdvorak
1.14 + */
1.15 +public class IllegalRequestSubtypeException extends IllegalArgumentException {
1.16 +
1.17 + public IllegalRequestSubtypeException() {
1.18 + super();
1.19 + }
1.20 +
1.21 + public IllegalRequestSubtypeException( final String msg ) {
1.22 + super( msg );
1.23 + }
1.24 +
1.25 + public IllegalRequestSubtypeException( final Throwable cause ) {
1.26 + super( cause );
1.27 + }
1.28 +
1.29 + public IllegalRequestSubtypeException( final String msg, final Throwable cause ) {
1.30 + super( msg, cause );
1.31 + }
1.32 +
1.33 +}