correctly declare thrown exceptions
This commit is contained in:
@@ -178,7 +178,7 @@ class Darlehenberechner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private static void askParametersAndRun() throws IOException {
|
private static void askParametersAndRun() throws ParseException, IOException {
|
||||||
DECIMAL_FORMAT.setParseBigDecimal(true);
|
DECIMAL_FORMAT.setParseBigDecimal(true);
|
||||||
|
|
||||||
var konfig = new Konfiguration();
|
var konfig = new Konfiguration();
|
||||||
@@ -217,7 +217,7 @@ class Darlehenberechner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private static void parseParametersAndRun(String[] args) {
|
private static void parseParametersAndRun(String[] args) throws ParseException {
|
||||||
var konfig = new Konfiguration();
|
var konfig = new Konfiguration();
|
||||||
int count = 0;
|
int count = 0;
|
||||||
DECIMAL_FORMAT.setParseBigDecimal(true);
|
DECIMAL_FORMAT.setParseBigDecimal(true);
|
||||||
|
Reference in New Issue
Block a user