SolutionWritingException(msg: String, cause: Throwable)
Thrown if an exception occurs while writing to the output file.