×

Discussion Board

Results 1 to 2 of 2

Thread: throw exception

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    9

    throw exception

    can i throw an own customised exception in catch block??

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: throw exception

    Hi venicechong,

    sure you can!

    You could for example do something like this:
    Code:
    try
    {
    //your code
    }
    catch(Exception e)
    {
    	throw new YourCustomException();
    }
    Pit

Similar Threads

  1. s60 3rd ed emulator crash
    By Kimau in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2008-06-18, 22:12
  2. VS.Net 2003 Carbide 2.01 and epoc32.exe
    By ValentinK in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-01-12, 12:31
  3. Can't throw exception error on 6230i
    By jdm1216 in forum Mobile Java General
    Replies: 2
    Last Post: 2006-07-12, 12:36
  4. Consecutive http requests on 3650 throw exception
    By pushpradhan in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2004-01-20, 04:19
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×