task2/solution01/src/org/apidesign/apifest08/currency/CannotProvideValueException.java
changeset 29 f6073056b9fe
parent 6 97662396c0fd
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/task2/solution01/src/org/apidesign/apifest08/currency/CannotProvideValueException.java	Wed Oct 01 10:43:05 2008 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +package org.apidesign.apifest08.currency;
     1.5 +
     1.6 +/**
     1.7 + * Used when value cannot be get from the source
     1.8 + * @author Ladislav Vitasek
     1.9 + */
    1.10 +public class CannotProvideValueException extends RuntimeException {
    1.11 +
    1.12 +    public CannotProvideValueException() {
    1.13 +        super();
    1.14 +    }
    1.15 +
    1.16 +    public CannotProvideValueException(String message) {
    1.17 +        super(message);
    1.18 +    }
    1.19 +
    1.20 +    public CannotProvideValueException(String message, Throwable cause) {
    1.21 +        super(message, cause);
    1.22 +    }
    1.23 +
    1.24 +    public CannotProvideValueException(Throwable cause) {
    1.25 +        super(cause);
    1.26 +    }
    1.27 +}