Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: James Rivera   on Jun 09 In Java Category.

  
Question Answered By: Adel Fischer   on Jun 09

Try this:public static void main(String[]
args){ try{ // your code here } catch(Exception
e){ e.printStackTrace(); }}That way any exceptions which
make it out to the
main() method will be caught and a stack trace will be
produced.

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Exception Handling Or get search suggestion and latest updates.


Tagged: