What is exception propagation in Scala

0 votes
Can anyone explain the term execution propagation in Scala?
Jul 25, 2019 in Apache Spark by Gurung
785 views

1 answer to this question.

0 votes

Hi,

  • When a function experiences an exception, it looks for a handler to deal with it. 
  • When it fails to find one, it searches for one in the caller method. Failing there, it looks for yet another in the next caller in the chain. 
  • Whenever it does find a handler, it makes it catch the exception. This is exception propagation.
answered Jul 25, 2019 by Gitika
• 65,890 points

Related Questions In Apache Spark

0 votes
1 answer

What is ofDim in Scala?

Hey, ofDim() is a method in Scala that ...READ MORE

answered Jul 24, 2019 in Apache Spark by Gitika
• 65,890 points
4,570 views
0 votes
1 answer

What is BitSet in Scala?

Hey, A BitSet is a set of non-negative ...READ MORE

answered Jul 25, 2019 in Apache Spark by Gitika
• 65,890 points
702 views
0 votes
1 answer

What is Streams in Scala?

Hi, A stream is a lazy list as ...READ MORE

answered Jul 25, 2019 in Apache Spark by Gitika
• 65,890 points
544 views
0 votes
1 answer

What is recursion in Scala function? How does it works?

Hey, A Scala function involves recursion when it ...READ MORE

answered Jul 25, 2019 in Apache Spark by Gitika
• 65,890 points
857 views
+1 vote
2 answers
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
10,920 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
2,449 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
108,270 views
0 votes
1 answer

What is “Unit” and “()” in Scala?

Hey, Unit is a subtype of scala.anyval and ...READ MORE

answered Jul 24, 2019 in Apache Spark by Gitika
• 65,890 points
1,473 views
0 votes
1 answer

What is the advantage of having immutability in design for Scala programming language?

Hi, Scala uses immutability by default in most ...READ MORE

answered Jul 24, 2019 in Apache Spark by Gitika
• 65,890 points
674 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP