Metti return msg; come ultima istruzione (dopo il catch); per fare ciò devi anche dichairare msg al di fuori del try.
Regole del Forum