task2/solution01/src/org/apidesign/apifest08/currency/CannotInstantiateFactoryException.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/CannotInstantiateFactoryException.java	Wed Oct 01 10:43:05 2008 +0200
     1.3 @@ -0,0 +1,23 @@
     1.4 +package org.apidesign.apifest08.currency;
     1.5 +
     1.6 +/**
     1.7 + * Failed to instantiate class for factory
     1.8 + * @author Ladislav Vitasek
     1.9 + */
    1.10 +public class CannotInstantiateFactoryException extends Exception {
    1.11 +    public CannotInstantiateFactoryException(Throwable e) {
    1.12 +        super(e);
    1.13 +    }
    1.14 +
    1.15 +    public CannotInstantiateFactoryException(String message) {
    1.16 +        super(message);
    1.17 +    }
    1.18 +
    1.19 +    public CannotInstantiateFactoryException() {
    1.20 +        super();
    1.21 +    }
    1.22 +
    1.23 +    public CannotInstantiateFactoryException(String message, Throwable cause) {
    1.24 +        super(message, cause);
    1.25 +    }
    1.26 +}