@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> please help me graps the idea of try catch
<0> what if I dont want to try and catch?
<0> what if I just want to get input? why do I have to use the try clause?
<1> try and catch is for robustness
<0> robustness?
<0> can you elaborate?
<1> you can not ***ume the user will provide you the 'correct' input
<0> I see
<0> why not only catch tho:
<0> forget about it
<0> they are both dependant of each other?
<1> not really
<1> you can have a try block without a catch
<0> where's the robustness then?
<1> if you dont have a catch you must have the finally block
<0> finally block?



<1> yes regardless of your execution in the try block, finally block will always execute
<0> oh
<0> sorry im very new to this
<0> been writing programs with C and not used to VM programming (espeacilly java's)
<0> can you forgive me?
<1> sure
<1> try catch finally concept is great and it exists in modern OO languages
<1> not specific to Java
<1> even in C++
<0> ok
<0> let me see then
<0> finally means you are sure of the result, try means you want to search for errors (you are ***uming you might get some)?
<1> Nope
<0> :(
<0> what did i get wrong?
<1> lemme start from the beginning it doesnt necessarily have to be 'an input retrieval' scenario as in yours yet try catch is commonly used in those scenarios too
<1> it is possible that your program might crash due to any reason..
<1> do we agree on that ?
<1> it might because of a database call where data base is not started it might because of wrong input, it might because of anything that would cause run time error
<0> we agree on that
<0> it might be because of a buffer overflow
<0> right?
<2> A buffer overflow is not possible in Java.
<0> I see
<0> ok
<0> why not?
<0> robustness?
<0> weak typing?
<2> The language does not allow to access an array beyond its end; that results in a RuntimeException. Similar things apply for other situations where a buffer overflow might occur in other languages. But that's beside hakkinen's point.
<1> try and catch allows you to recover from those errors in a silently and friendly manner. Depending on your logic you might ignore the error or stop the execution it by notifying the user
<1> its up to you
<1> suppose you have a piece of code which you want it to execute at all times whether the execution in the try block succeeds or not
<1> there comes the finally block
<1> a typical example will be
<1> releasing resources such as closing a database connection
<0> ok
<0> gn hakkinen
<0> and acidjnk
<1> take care AG
<1> handsome_guy wait till sholom arrives
<1> heh too late
<0> sholom?
<0> sounds like a jewish nick name
<3> lan hakkinen pici ben tek bama bir alemim yarrak adresini bulacam senin sonra ne yapacan bakalm
<3> ananda senin yannda sikecem
<3> battra battra
<4> bildiin tek numara bumu oruspu anal
<4> bacs filipinli
<4> seni sikerkenki halini imdiden dn olum
<4> kuru kuru sokacam sana
<4> sen yarra yedin
<4> sert kayaya arptn
<4> olum sen bittin
<4> bence ben seni bulmadan sen intihar et
<4> yoqsa keke intihar etseydimde bu aclar yaamasaydm diye alarsun
<2> Please speak English.
<4> senin bacn gzlerinin nnde sikecem
<4> ok
<5> i just installed java, can somone explain what i have to do to get p***ed this error "Exception in thread "main" java.lang.NoCl***DefFoundError:"



<2> jam___, I recommend the start trail of the Sun tutorial.
<6> Anyone who wants to buy a brandnew NOKIA and Sonny ericsson cellphones for a cheaper price??just private message me TNX....
<2> Please don't advertise here.
<6> Anyone who wants to buy a brandnew NOKIA and Sonny ericsson cellphones for a cheaper price??just private message me TNX....
<7> sup
<8> is this possible in java that I launch cmd.exe once and then keep p***ing command line arguments?
<9> no, you don't want to do that anyway
<8> through Runtime().getRuntime().exec(...ARGUMENTS..)
<9> state the problem
<8> I've an exe of ffmpeg library which transcode in between different vdo files right
<9> why are you using Java then?
<8> once I recieved a file on my server I want to convert that file to flv using ffmpeg.exe
<1> god knows what the **** you are talking about
<10> Fma: no, I don't think you can do that.
<8> what can be the possible solution to my problem
<1> you can go and **** yourself
<10> if you want something to follow the program output, how about writing to log file and then using some tool (a windows equivalent to tail -f) to show the contents of the file as it's written
<9> Fma, use the Win32 API, not the Java API
<9> Fma, .NET is a good candidate
<1> hmmm
<1> interesting
<1> koala_man are you being an ***hole ?
<10> always
<1> cool
<8> koala_man, let me check
<1> then u gotta put up with the consequences dont u
<1> acidjnk : insult is an insult isnt it
<2> Why are you so unfriendly to Fma anyway?
<1> well i am more friendly than saying we dont help arabs
<1> at least i am not being racist
<2> That's a start. Now try improving.
<1> koala_man : behave dude you dont wanna mess with me
<10> hakkinen: yo man why you all up in mah ****, better chill or me n my homies gonna take you down man
<1> koala_man : **** my ****
<1> and david a.k.a The_Vulture u too can **** my **** :)
<1> koala_man : I am warning you .. you dont wanna be a hero
<1> I have seen worse comments here
<1> grab a branch of a tree
<1> and hang thre
<10> hakkinen: im sure u want guys ****ing ur **** lawl lmao r u a fag lololoolllo up on teh man train chooo choo
<2> That's not better at all :-(
<7> hi acidjnk
<7> sup dibblego
<2> hello
<9> good evening
<7> acidjnk I'm looking at the html 4.01 specs its rather complicated hehe
<7> html guru's are saying anything I can do with CSS I shouldnt do with html
<1> koala_man : just shut up and **** my **** you are an idiot who tries to be a hero and guess what you are not
<2> that's a good rule of thumb, caverdude.
<1> I have ****ed your and davids *** in the past and dont make me do it again :)
<10> hakkinen: i aint no hero but atleast im no zero, bitch
<9> or nero
<10> now get off ur wig, prime time on the streets over dawg
<1> yeah thats what david said before now he goes all quiet after loosing all that money hehe
<9> david? ( The_Vulture?) money?
<1> yep he was making fun of my english
<7> hakkinen yup he used to piss me off like that too
<9> he was probably trying to teach you in his usual way - I doubt he'd make fun of you
<7> hakkinen where are you from?
<9> and what money?
<7> naw its the ole irc "i'm better than you because my english is perfect" ****
<9> caverdude, it can often be perceived that way and it's nt
<9> *not
<7> chat is supposed to be casual not like that
<1> dibblego : I recently saw him running an argument with you and saying a 3 rd party not being english your native your language is the problem
<1> **** him
<1> teach me english ?
<9> an ego bash is a better explanation than making fun anyway
<1> heh
<2> I appreciate any hint to my spelling or grammar mistakes.
<7> hakkinen where are you from man?
<9> hakkinen, what money did he lose?
<1> I appreciate that too if I see any constructive comments
<9> I correct all of acidjnk's English mistakes


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

#india
#allnitecafe
girls in philpine
#php
CCNA Network Visualizer 5.0 crack
#allnitecafe
#chat-world
fuck in jamnagar
#chat-world
fatcunts



Home  |  disclaimer  |  contact  |  submit quotes