• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What Kind Of Exceptions You have Faced In Your Project?

 
Greenhorn
Posts: 5
Tomcat Server C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Everybody......
I am attending java exp interviews eventhough i am fresher.In that interviews most of the persons are asking WHAT KIND OF EXCEPTION YOU HAVE FACED IN YOUR PROJECT....SO,Please Tell Me How To Answer This Question Perfectly..(Please Share Your Experiences In This Kind Of Situation In Your Projects Especially in Web-based Projects)

Thanks in Advance........
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Likes 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The best answer is a truthful one. If you make stuff up you will get caught sooner or later and your prospects of landing that specific job become none at all.
 
Ranch Hand
Posts: 129
Netbeans IDE Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Being Ironic
There is no shortcut, even if you make it up, you eventually have to face the consequences.
 
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are new to Java you could say NullPointerException. I believe its the most common.
 
Ranch Hand
Posts: 10198
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Or tell them that you have programmed everything in such a way that you never had to come across any exception.
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First you should be on the same page as the interviewer and know what specifically he/she is talking out, e.g. project, exception, etc. Are they are talking about Java program "exceptions" during development or something other type of exception related to a project?

There is no "perfect" answer. The answer depends on your experience. If you have experience coding and have never had to deal with a Java Exception in code, then your answer should convey this. If you have never worked on a project, then you answer should be very easy, "You never had to deal with an exception, you have not worked on any project."

For experienced interviewers, it is very easy to tell when an individual is lying or making up things in their responses to queries. If you keep encountering questions about exceptions, then you should study them in detail. You can always state that you have never had to deal with them in programming, but understand what they are and the various ways to deal with them.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joe Harry wrote:Or tell them that you have programmed everything in such a way that you never had to come across any exception.


"I haven't worked on any projects" is more believable. And even then you can tell them about exceptions encountered in learning Java, practicing on your own, etc. I find it hard to believe that anyone programming Java has *never* faced a Java exception.
 
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just say you are a fresher and avoid that question
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

IMO, this question is probably not the actual question. It is likely just a way to start the conversation to something that the candidate has faced. A generic open ended question to get the candidate going to something that he/she should know, and then to be followed up by actual questions.

This means (and again, it is just opinion) that making up stuff is not a good idea, as it will be follow up with detail questions about what the candidate did during the project. It also means that the "I don't get exceptions" or "I am a fresher and have no project" response is not good here either.

Henry
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're applying for a job as a Java programmer then you most likely know how to program in Java, so you must have written some program, where you've most likely have had to handle exceptions (because in almost any Java program that does more than print "Hello World!" you'll have to deal with exceptions).

Talk about your own experience, no matter how small. Even if you're a fresher you must have written some Java code, even if it wasn't in a project setting.
 
Does this tiny ad smell okay to you?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic