handle error 404 by catching FileNOTFoundException
add try catch and fix indentation
fixed missing curly bracket
Merge pull request #54 from esoekianto/handle-404-error

handle error 404 by catching FileNOTFoundException