Click here to Skip to main content
15,898,222 members
Home / Discussions / Java
   

Java

 
AnswerRe: Eclipse (Java?) makes try/catch mandatory? Pin
TorstenH.28-Jun-11 1:56
TorstenH.28-Jun-11 1:56 
GeneralRe: Eclipse (Java?) makes try/catch mandatory? Pin
Helfdane28-Jun-11 1:58
Helfdane28-Jun-11 1:58 
GeneralRe: Eclipse (Java?) makes try/catch mandatory? Pin
TorstenH.28-Jun-11 2:04
TorstenH.28-Jun-11 2:04 
AnswerRe: Eclipse (Java?) makes try/catch mandatory? Pin
Gerben Jongerius28-Jun-11 6:34
Gerben Jongerius28-Jun-11 6:34 
GeneralRe: Eclipse (Java?) makes try/catch mandatory? Pin
Helfdane28-Jun-11 20:47
Helfdane28-Jun-11 20:47 
GeneralRe: Eclipse (Java?) makes try/catch mandatory? Pin
TorstenH.29-Jun-11 2:32
TorstenH.29-Jun-11 2:32 
GeneralRe: Eclipse (Java?) makes try/catch mandatory? Pin
Helfdane29-Jun-11 3:25
Helfdane29-Jun-11 3:25 
AnswerRe: Eclipse (Java?) makes try/catch mandatory? Pin
Nagy Vilmos29-Jun-11 3:20
professionalNagy Vilmos29-Jun-11 3:20 
Further to other answers, if a catch-able exception is thrown it must be caught in java. Their are two options, try-catch or use throws so that the calling method knows it could receive the exception and must act accordingly.

If it is a runtime error, say out of memory, then it does not need to be handled as you cannot predict how it will occur and build time.


Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

QuestionJava canvas problems [modified] (Solved) Pin
Davíð Þór27-Jun-11 3:13
Davíð Þór27-Jun-11 3:13 
AnswerRe: Java canvas problems Pin
TorstenH.28-Jun-11 2:02
TorstenH.28-Jun-11 2:02 
GeneralRe: Java canvas problems [modified] Pin
Davíð Þór28-Jun-11 5:20
Davíð Þór28-Jun-11 5:20 
GeneralRe: Java canvas problems Pin
TorstenH.28-Jun-11 20:43
TorstenH.28-Jun-11 20:43 
GeneralRe: Java canvas problems Pin
Davíð Þór29-Jun-11 0:39
Davíð Þór29-Jun-11 0:39 
GeneralRe: Java canvas problems Pin
TorstenH.29-Jun-11 2:31
TorstenH.29-Jun-11 2:31 
AnswerRe: Java canvas problems Pin
David Skelly28-Jun-11 6:17
David Skelly28-Jun-11 6:17 
GeneralRe: Java canvas problems Pin
Davíð Þór28-Jun-11 7:05
Davíð Þór28-Jun-11 7:05 
GeneralRe: Java canvas problems Pin
Davíð Þór29-Jun-11 0:36
Davíð Þór29-Jun-11 0:36 
Questionproject Pin
Member 803844226-Jun-11 23:52
Member 803844226-Jun-11 23:52 
AnswerRe: project Pin
Richard MacCutchan27-Jun-11 0:12
mveRichard MacCutchan27-Jun-11 0:12 
GeneralRe: project Pin
Member 803844227-Jun-11 3:13
Member 803844227-Jun-11 3:13 
GeneralRe: project Pin
Nagy Vilmos27-Jun-11 4:07
professionalNagy Vilmos27-Jun-11 4:07 
GeneralRe: project Pin
Pete O'Hanlon27-Jun-11 4:31
mvePete O'Hanlon27-Jun-11 4:31 
GeneralRe: project Pin
Member 803844227-Jun-11 4:46
Member 803844227-Jun-11 4:46 
GeneralRe: project Pin
Pete O'Hanlon27-Jun-11 5:59
mvePete O'Hanlon27-Jun-11 5:59 
GeneralRe: project Pin
Member 803844227-Jun-11 6:39
Member 803844227-Jun-11 6:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.