task4/solution06/src/org/apidesign/apifest08/currency/CurrencyException.java
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 11 Oct 2008 23:38:46 +0200
changeset 61 58ec6da75f6f
parent 45 task3/solution06/src/org/apidesign/apifest08/currency/CurrencyException.java@251d0ed461fb
permissions -rw-r--r--
Copying structure for task4
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
}