task2/solution01/src/org/apidesign/apifest08/currency/CannotProvideValueException.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/CannotProvideValueException.java@97662396c0fd
permissions -rw-r--r--
Getting ready for task2: copying all solutions to new locations
japod@6
     1
package org.apidesign.apifest08.currency;
japod@6
     2
japod@6
     3
/**
japod@6
     4
 * Used when value cannot be get from the source
japod@6
     5
 * @author Ladislav Vitasek
japod@6
     6
 */
japod@6
     7
public class CannotProvideValueException extends RuntimeException {
japod@6
     8
japod@6
     9
    public CannotProvideValueException() {
japod@6
    10
        super();
japod@6
    11
    }
japod@6
    12
japod@6
    13
    public CannotProvideValueException(String message) {
japod@6
    14
        super(message);
japod@6
    15
    }
japod@6
    16
japod@6
    17
    public CannotProvideValueException(String message, Throwable cause) {
japod@6
    18
        super(message, cause);
japod@6
    19
    }
japod@6
    20
japod@6
    21
    public CannotProvideValueException(Throwable cause) {
japod@6
    22
        super(cause);
japod@6
    23
    }
japod@6
    24
}