Click here to Skip to main content
16,022,538 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
C#
throws cannot be used for error or unchecked exceptions and its sub class why?


What I have tried:

throws cannot be used for error or unchecked exceptions and its sub class why?
Posted

1 solution

I suggest you research this online so that you can understand it well. However, here is a good explanation: https://docs.oracle.com/javase/tutorial/essential/exceptions/runtime.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900