Decoding to another class in do-try-catch produces compile error

welcome to shbcf.ru