Maybe instead of re-throwing exception you should put this formatting into this exception it self ?