wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Can Constructors throw Exceptions?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Can Constructors throw Exceptions??" Watch "Can Constructors throw Exceptions??" New topic
Author

Can Constructors throw Exceptions??

N Mukherjee
Ranch Hand

Joined: Jun 08, 2000
Posts: 141
Hi Everybody,
Can any constructor throw Exception?
Plz give reasons.Pardon my ignorance.
Regds
NM


"Knowledge is Power"****************<A HREF="http://www.geocities.com/nityananda_mukherjee" TARGET=_blank rel="nofollow">THREAD/SCJP RESOURCES</A>
Bharatesh H Kakamari
Ranch Hand

Joined: Nov 09, 2000
Posts: 198
Tes Constructors can throw Exceptions.
The reason for constructors throwing exceptions are the same for any method throwing / handling Exceptions.
Hemal Mehta
Ranch Hand

Joined: Nov 16, 2000
Posts: 101
Constructors can have returns provided its just return;
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can Constructors throw Exceptions??
 
Similar Threads
Can constructor throw exception?
Can the main() method throw Exceptions ?
Enthuware or ucertify-- which one to buy
What is a portal...
Exceptions for constructors