task2/solution01/src/org/apidesign/apifest08/currency/CannotConvertException.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 01 Oct 2008 10:43:05 +0200
changeset 29 f6073056b9fe
parent 6 task1/solution01/src/org/apidesign/apifest08/currency/CannotConvertException.java@97662396c0fd
permissions -rw-r--r--
Getting ready for task2: copying all solutions to new locations
     1 package org.apidesign.apifest08.currency;
     2 
     3 /**
     4  * If something was wrong during converting currencies...
     5  * Eg. when the convertor is outdated
     6  * Should be a descendant of RuntimeException? Hmmms...
     7  * @author Ladislav Vitasek
     8  */
     9 public class CannotConvertException extends RuntimeException {
    10     
    11     public CannotConvertException() {
    12 
    13     }
    14 
    15     public CannotConvertException(String message) {
    16         super(message);
    17     }
    18 
    19     public CannotConvertException(Throwable e) {
    20         super(e);
    21     }
    22 
    23     public CannotConvertException(String message, Throwable cause) {
    24         super(message, cause);
    25     }
    26 }