Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,565 members, 7,958,751 topics. Date: Wednesday, 25 September 2024 at 10:24 PM |
Nairaland Forum / Science/Technology / Programming / When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can (1454 Views)
Fix This C++ Code If You can / Please HELP Me With This Java Program / Can Anybody Debug This Javascript? (2) (3) (4)
When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by Nobody: 10:19pm On Sep 05, 2016 |
Warning: convert the single to double-quotes before you run, this is due to Nairaland formatting Exception problem Disclaimer: this code is for illustrative purposes and I shall not be responsible for the death of any PC / Compiler at that. |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by nuradeen011(m): 10:35pm On Sep 05, 2016 |
its easy for computer science student but i just read and fast but trust me i have A in all my programming courses |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by talk2hb1(m): 11:36pm On Sep 05, 2016 |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by Fedric(m): 5:12am On Sep 06, 2016 |
[quote author=dhtml18 post=49106774][/quote]bro nice to see you here, please would like to have your mail, want to ask you one question and guildline on what to do |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by destino24(m): 7:58am On Sep 06, 2016 |
If(username.matches("dhtml18"{ TrollManager thetroll = new TrollManager(); thetroll.activate(); //Pasting all that your code here try { while(brain_working.can_work()) { continue(); //yah, i love working } } catch (HungerException e) { Log.i("Facebook","I can no longer work because I am hungry"; e.printStackTrace(); } catch (FuelException e) { Log.i("Facebook","I can no longer work because I have no fuel in my generator"; e.printStackTrace(); } catch (FreeInternetException e) { Log.i("Facebook","I can no longer work because my free internet thingy has been busted"; e.printStackTrace(); } catch (GarriException e) { Log.i("Facebook","I can no longer work because i no get garri to drink"; e.printStackTrace(); } catch (BrainWaveException e) { Log.i("Facebook","I can no longer work because my brain is throwing stack overflow error"; e.printStackTrace(); } catch (Exception e) { Log.i("Facebook","I can no longer work because of "+e.getMessage()); e.printStackTrace(); } finally { Log.i("Facebook","Ah well, you know the drill by now. . .i rest my case finally"; } }else{ //Do some actual work here ActualWork.do(); } |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by Nobody: 8:36am On Sep 06, 2016 |
How person wan take create ground-breaking-apps like fantastic social networks when you have all these errors and much more to catch? This my post may look funny to a programmer(or non-programmer) elsewhere, but I am sure that naija programmers can relate well, because na all these exceptions we dey face on daily basis. You need to catch the increasing price of petrol amongst all the Exceptions, Exceptional high cost of buying a good generation even, in fact if I want to write all the common Nigerian exceptions ehn, una go fear fear - but it is true, all we Naija programmers face this. That is why on international level, it looks as if we dont have good programmers in Nigeria - we do, but their efforts are being padded by all these EXCEPTIONS like the NIGERIAN BUDGET. Fedric:Send a PM now. nuradeen011:Well, you are write. A good computer student or almost any serious programmer should be able to read this. |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by destino24(m): 9:05am On Sep 06, 2016 |
dhtml18: Exceptions like the Nigerian budget Well, based on programming, better to have all those catch blocks, than having your app crash due to one stupid unhandled exception 1 Like |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by Nobody: 9:52am On Sep 06, 2016 |
Naija budget padding Exception is a problem of every Nigerian (except the Oga them them), it is just unfortunate that as a Nigerian programmer, you just need to inherit these Exceptions from the Nigerian Superclass. |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by 4dor: 9:58am On Sep 06, 2016 |
[quote author=dhtml18 post=49106774][/quote] This code is not complete, why didn't you catch the exception of your dream babe being snatched from you because you have no money? |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by Nobody: 10:14am On Sep 06, 2016 |
well, programmers are just NANOBOTS whose jobs is to code recursively. . . . .so if your girlfriend is snatched from you, it means you need to code harder so that you can get money to snatch your bae back. |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by 4dor: 10:25am On Sep 06, 2016 |
dhtml18: Lmao |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by Nobody: 10:54pm On Sep 06, 2016 |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by seunthomas: 11:03pm On Sep 06, 2016 |
Bro, your code actually makes no sense. Your exception handling at the very least is really not necessary. Its purely an overkill. But nice humor sha. |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by Nobody: 1:07am On Sep 07, 2016 |
^^^^My #1 supporter here for my head, you are the first |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by Booyakasha(f): 4:05am On Sep 07, 2016 |
[quote author=dhtml18 post=49106774][/quote] ugly code indentation.. thanks to N.L |
Re: When Your Brain Throws Stackoverflow Error - Debug This JAVA Code If You Can by Nobody: 7:21am On Sep 07, 2016 |
^^^Na wetin person go do? |
(1) (Reply)
Why Is Nairaland Popular? Your Views! / Write An Algorithm To Shuffle An Array / Please How Do I Download My Udemy Courses For Offline Viewing
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 40 |