File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Creating own Exception 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 "Creating own Exception" Watch "Creating own Exception" New topic
Author

Creating own Exception

Gaurav Pavan Kumar Jain
Ranch Hand

Joined: Mar 19, 2007
Posts: 168
Please let me know How I can create my own Exceptions
deepak adlakha
Ranch Hand

Joined: Jul 27, 2001
Posts: 325
Like as follows:-

public class ConfigurationException extends Exception
{

public ConfigurationException() {
super();
}

public ConfigurationException(String s)
{
super(s);
}
}
Gaurav Pavan Kumar Jain
Ranch Hand

Joined: Mar 19, 2007
Posts: 168
Thanks a lot Deepak
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating own Exception