I know that global try catch for Python does exist, what about Java implementation ?
Thanks,
Efi
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Don’t know about Python. But I think you can just add try-catch(Exception e) as the top-level in your post()/get() method. But please note unnecessary try-catch is a cost of performance and I don’t think simply using catch(Exception e) is a good way of programming. You may suffer and spend more time to debug later.