proxy in try-catch