Commit 1bbba8d4 authored by Gergo Ujhelyi's avatar Gergo Ujhelyi
Browse files

better error messages


Signed-off-by: Gergo Ujhelyi's avatarGergo Ujhelyi <ujhelyi.gergo@ericsson.com>
parent 2d63b5bd
......@@ -49,7 +49,7 @@ public final class ConfigCharsetDetector {
* Files.readAllBytes(p_file.toPath());
**/
} catch (IOException e) {
throw new TtcnError(e);
throw new TtcnError(e.getMessage());
} finally {
try {
if (file_input != null) {
......@@ -59,7 +59,7 @@ public final class ConfigCharsetDetector {
file_channel.close();
}
} catch (IOException e) {
throw new TtcnError(e);
throw new TtcnError(e.getMessage());
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment