feat: Currency symbols enum

This commit is contained in:
Piotr Dec 2024-06-25 00:24:18 +02:00
parent f42dcce74b
commit 11d6e41c98
Signed by: stawros
GPG key ID: F89F27AD8F881A91
22 changed files with 248 additions and 129 deletions

View file

@ -1,8 +1,10 @@
package eu.ztsh.wymiana.exception;
import eu.ztsh.wymiana.model.Symbol;
public class NoDataException extends RuntimeException {
public NoDataException(String code, String date) {
public NoDataException(Symbol code, String date) {
super("No data for code %s and date %s".formatted(code, date));
}