Forums Register Login

io FileWriter, caught or declared to be thrown

+Pie Number of slices to send: Send
Hello, I�m new at this. My question regards a common error message I�m been receiving lately. java:15: unreported exception java.io.IOException; must be caught or declared to be thrown. This appear in several situations, every time I solve it I haven�t got a clue what I did to solve it. So I need help to interpret the message. Dose anyone have a minute over for a short explanation?
Thanks.
+Pie Number of slices to send: Send
an exception is an error that must be handled by the programmer or "thrown" back to the method which has called this particular method. Even main() is called by the JVM & hence even main can "throw" back the exception to the JVM. rather than me trying to explain this to you, i'll let the developers at Sun do the honours....and trust me, they do a very good job...
http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html
hope it helped
LOOK! OVER THERE! (yoink) your tiny ad is now my tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1077 times.
Similar Threads
IBM mock
IOException
Error while deserializing an object.
Rule Round-Up question 68
About Runtime Exceptions and Errors
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:11:19.