aspose file tools*
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
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
What is a portal...
Enthuware or ucertify-- which one to buy
Can the main() method throw Exceptions ?
Can constructor throw exception?
Exceptions for constructors