I understand that callable’s call can throw the exception to the parent method calling it which is not the case with runnable.
I wonder how because it’s a thread method and is the bottommost method of the thread stack.
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.
The point of
Callableis to have your exception thrown to your calling thread, for example when you get the result of aFutureto which you submitted yourcallable.