DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

Thread: Errors Handle

  1. #1
    Ofelia Giles Guest

    Errors Handle


    How can i handle errors in a try catch block?


  2. #2
    Paul Clapham Guest

    Re: Errors Handle

    try {
    // code goes here that could throw an error, e.g. SomeKindOfException
    } catch(SomeKindOfException skoe) {
    // code goes here to do whatever you need to do when that exception occurs
    }

    PC2

    "Ofelia Giles" <sweetg@rocketmail.com> wrote in message
    news:3ad37b5b$1@news.devx.com...
    >
    > How can i handle errors in a try catch block?
    >




  3. #3
    joshua kramer Guest

    Re: Errors Handle


    You cannot handle errors in a try/catch block because there are NON CHECKABLE.
    You can only handle exceptions.

    Josh
    "Ofelia Giles" <sweetg@rocketmail.com> wrote:
    >
    >How can i handle errors in a try catch block?
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links