Constructs a `FileException` with a message, source file, line number, and optional chained exception.
Constructs a `FileException` with a message, source file, line number, and optional chained exception.