G.D.Prabin Profile And Software Learning Corner
Objective
Home
Objective
Skill Set Summary
Education
Software Exposure
Project Profile
Conference & Paper presentation
Personal Details & Contact Us
Sunday, October 10, 2010
Throw exception through main method in java
public class MainClass{
public static void main(String[] arg) throws Throwable{
try{
throw new Throwable();
}
catch(Exception e)
{
System.err.println("caught in main");
}
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment