task1/solution01/src/org/apidesign/apifest08/currency/CannotConvertException.java
1 package org.apidesign.apifest08.currency;
4 * If something was wrong during converting currencies...
5 * Eg. when the convertor is outdated
6 * Should be a descendant of RuntimeException? Hmmms...
7 * @author Ladislav Vitasek
9 public class CannotConvertException extends RuntimeException {
11 public CannotConvertException() {
15 public CannotConvertException(String message) {
19 public CannotConvertException(Throwable e) {
23 public CannotConvertException(String message, Throwable cause) {
24 super(message, cause);