• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why "Unhandled exception type Exception" in this code?

 
nemo zou
Ranch Hand
Posts: 35
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I run this code but a compilation error occurs. I think the problem is from SuperClass sb = new SubClass(). But still get confused about it...

 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For exactly the same reason as mentioned in this topic.
 
nemo zou
Ranch Hand
Posts: 35
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roel De Nijs wrote:For exactly the same reason as mentioned in this topic.

Thanks!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic