Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Espanol section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 29th, 2003, 04:58 AM
Registered User
 
Join Date: Jun 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Exception object

Hi,

How can I create an exception object for my application?

Please help with some example if possible

Thanking in advance
 
Old October 7th, 2004, 07:08 PM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is some example of how to create an exception:

public class ExampleException extends Exception {

   public ExampleException() {
    super();
   }

   public ExampleException(String s) {
    super(s);
   }
}





Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript: null or not an object exception ganeshbraj ASP.NET 1.0 and 1.1 Professional 0 September 28th, 2007 08:01 AM
Serializing Object Graph - Assigning Object to Jag venkat.kl C# 0 August 28th, 2006 10:39 AM
create a Line object ,Box object in CR at Runtime? thanhnt Pro VB 6 1 May 16th, 2005 06:51 AM
Error Occurred creating Report Object: Object does sa_moizatyahoo Classic ASP Professional 0 February 1st, 2005 10:29 AM
Exception Error using Dictionary Object andersoni Classic ASP Basics 2 July 24th, 2004 12:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.