author | Jaroslav Tulach <jaroslav.tulach@apidesign.org> |
Wed, 01 Oct 2008 10:43:05 +0200 | |
changeset 29 | f6073056b9fe |
parent 6 | task1/solution07/src/org/apidesign/apifest08/currency/IllegalRequestSubtypeException.java@97662396c0fd |
permissions | -rw-r--r-- |
japod@6 | 1 |
/* |
japod@6 | 2 |
* To change this template, choose Tools | Templates |
japod@6 | 3 |
* and open the template in the editor. |
japod@6 | 4 |
*/ |
japod@6 | 5 |
|
japod@6 | 6 |
package org.apidesign.apifest08.currency; |
japod@6 | 7 |
|
japod@6 | 8 |
/** |
japod@6 | 9 |
* Rised when a {@link Convertor} implementation cannot handle a particular subtype of {@link Convertor.ConversionRequest}. |
japod@6 | 10 |
* @author jdvorak |
japod@6 | 11 |
*/ |
japod@6 | 12 |
public class IllegalRequestSubtypeException extends IllegalArgumentException { |
japod@6 | 13 |
|
japod@6 | 14 |
public IllegalRequestSubtypeException() { |
japod@6 | 15 |
super(); |
japod@6 | 16 |
} |
japod@6 | 17 |
|
japod@6 | 18 |
public IllegalRequestSubtypeException( final String msg ) { |
japod@6 | 19 |
super( msg ); |
japod@6 | 20 |
} |
japod@6 | 21 |
|
japod@6 | 22 |
public IllegalRequestSubtypeException( final Throwable cause ) { |
japod@6 | 23 |
super( cause ); |
japod@6 | 24 |
} |
japod@6 | 25 |
|
japod@6 | 26 |
public IllegalRequestSubtypeException( final String msg, final Throwable cause ) { |
japod@6 | 27 |
super( msg, cause ); |
japod@6 | 28 |
} |
japod@6 | 29 |
|
japod@6 | 30 |
} |