task2/solution06/src/org/apidesign/apifest08/currency/CurrencyException.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 01 Oct 2008 10:43:05 +0200
changeset 29 f6073056b9fe
parent 6 task1/solution06/src/org/apidesign/apifest08/currency/CurrencyException.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
 * Top level runtime exception for 'currency' API.
japod@6
     5
 */
japod@6
     6
public class CurrencyException extends RuntimeException{
japod@6
     7
japod@6
     8
	private static final long serialVersionUID = 1L;
japod@6
     9
japod@6
    10
	public CurrencyException() {
japod@6
    11
		super();		
japod@6
    12
	}
japod@6
    13
japod@6
    14
	public CurrencyException(String message, Throwable cause) {
japod@6
    15
		super(message, cause);		
japod@6
    16
	}
japod@6
    17
japod@6
    18
	public CurrencyException(String message) {
japod@6
    19
		super(message);		
japod@6
    20
	}
japod@6
    21
japod@6
    22
	public CurrencyException(Throwable cause) {
japod@6
    23
		super(cause);		
japod@6
    24
	}
japod@6
    25
}