Modernized error reporting in Song class