Topics

Leave a Reply

12 Comments on "Java 8 Lambda Basics 18 – An Exception Handling Approach"

Notify of
avatar

livestupid thinkbrilliant
Guest
livestupid thinkbrilliant
1 day 6 hours ago

so even now if the operation is changed and if some other exception happens then it will not be handled and it will be thrown as Unhandled exception… what is the point of wrapper without generic exception being caught..

dhananjay patade
Guest
dhananjay patade
5 days 7 hours ago

Nice video,, feel like AOP of java 🙂

Narayan Sampath
Guest
Narayan Sampath
9 days 8 hours ago

now my company people will have even more complex looking hard to understand programs to look at unless they move to 1.8 beast mode… ha ha

Anurag Kumar
Guest
Anurag Kumar
1 month 8 days ago

Thanks a lot. Appreciate your effort to bring this to us:)

Rajat Verma
Guest
Rajat Verma
1 month 10 days ago

Lambda Version of Inception Movie 😉

Rahul Kumar
Guest
Rahul Kumar
3 months 27 days ago

This approach holds true in case of runtime exceptions. But this does not work for checked exceptions. I faced this issue while coding for work. Need to reach out to the internet to see how this could be handled.

Guram Kankava
Guest
Guram Kankava
4 months 14 days ago

Thank you very much, its quite hard concept to understand for me watched probably 10 times form 4:40, i think i understood eventually. thank you very much.

LivetoTrance
Guest
LivetoTrance
4 months 16 days ago

Great video Koushia , although i have a doubt… At the last solution for handling exception , you've created this wrapper lambda expression in which you put the try-catch block . However, in the catch you put "Arithmetic exception" which is specific for the lambda expression in this example, but that wouldn't work for other lambda expression which can throw other type of exception. Is there any full work around for this try-catch situation?

LivetoTrance
Guest
LivetoTrance
3 months 27 days ago

We'll have to wait for @JAVA_BRAINS to answer hehe

Rahul Kumar
Guest
Rahul Kumar
3 months 27 days ago

Had the same doubt myself. Was wondering if there is a way to pass what exception might occur from the lambda and somehow having the wrapper rely on that to handle the exception.

peter mbanda
Guest
peter mbanda
5 months 29 days ago

Best tutorial hands down Interface iF = () -> System.out.println("Thank You Sir")….Please do a JUNIT video tutorial too.

Rahul Kumar
Guest
Rahul Kumar
3 months 27 days ago

+1 to the Junit tutorial and also design patterns. You are the only one who could simplify the design patterns for the world.

wpDiscuz