IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
KB
   ► KB ► > Exception Trapping Posts  Print This     

Exception Trapping Posts

"Exception Trapping" Knowledge Base Posts

  KB Article  

Mike Prestwood
1. Delphi Prism Exception Trapping (try..except, try..finally)

Use a try..except..end block to trap and process errors.

Posted to KB Topic: Language Details
13 years ago

Code
Nothing New Since Your Last Visit
12013
Hits

Delphi Prism

Mike Prestwood
2. C# Exception Trapping (try...catch...finally)

C# uses a try...catch...finally statement to trap for errors.

try {}
catch {}
finally {}
Posted to KB Topic: Language Basics
14 years ago, and updated 13 years ago
(1 Comments , last by Paul.L4 )

Code
Nothing New Since Your Last Visit
9444
Hits

C# (Visual C# & VS.Net)

Mike Prestwood
3. VB.Net Exception Trapping (Try...Catch...Finally)

A common usage of exception handling is to obtain and use resources in a "try-it" block, deal with any exceptions in an "exceptions" block, and release the resources in some kind of "final" block which executes whether or not any exceptions are trapped.

Posted to KB Topic: Language Basics
14 years ago, and updated 14 years ago
(2 Comments , last by gratteremo.X )

Code
Nothing New Since Your Last Visit  
12042
Hits

VB.Net Language

Mike Prestwood
4. ObjectPAL Exception Trapping (try...onFail)

ObjectPAL has a try...onFail statement but does not have a finally-type component. However, the code afer endTry will execute.

try
onFail
endTry
Posted to KB Topic: OPAL: Language Details
14 years ago, and updated 14 years ago
(1 Comments , last by Elisa.S )

Code
Nothing New Since Your Last Visit
7437
Hits

Corel Paradox / ObjectPAL Coding

Mike Prestwood
5. Delphi Exception Trapping (try..except, try..finally)

Delphi also offers a try...finally where code will execute in the finally section no matter what. It's common to put a try...except inside a try...finally:

Posted to KB Topic: Delphi for Win32
14 years ago, and updated 14 years ago

Code
Nothing New Since Your Last Visit
9983
Hits

Pascal and Delphi Coding

Mike Prestwood
6. JavaScript Exception Trapping (try/catch/finally)

See "throw" to raise (throw) an error.

Posted to KB Topic: JavaScript and AJAX
14 years ago, and updated 14 years ago

Code
Nothing New Since Your Last Visit
6541
Hits

JavaScript and AJAX

Mike Prestwood
7. Java Exception Trapping (try/catch/finally)

Languages Focus: Exception Trapping

A common usage of exception handling is to obtain and use resources in a "try-it" block, deal with any exceptions in an "exceptions" block, and release the resources in some kind of "final" block which executes whether or not any exceptions are trapped.

Java Exception Trapping

Posted to KB Topic: Java
14 years ago, and updated 14 years ago

Code
Nothing New Since Your Last Visit
7202
Hits

Java

Mike Prestwood
8. C++ Exception Trapping (try/catch)

Languages Focus: Exception Trapping

A common usage of exception handling is to obtain and use resources in a "try-it" block, deal with any exceptions in an "exceptions" block, and release the resources in some kind of "final" block which executes whether or not any exceptions are trapped.

C++ Exception Trapping

Posted to KB Topic: Standard C++
14 years ago, and updated 14 years ago
(2 Comments , last by Adam.S4 )

Code
Nothing New Since Your Last Visit
6881
Hits

C++

Mike Prestwood
9. ASP Classic Exception Trapping (On Error)

Languages Focus: Exception Trapping

A common usage of exception handling is to obtain and use resources in a "try-it" block, deal with any exceptions in an "exceptions" block, and release the resources in some kind of "final" block which executes whether or not any exceptions are trapped.

ASP Classic Exception Trapping

Posted to KB Topic: ASP Classic
14 years ago, and updated 14 years ago

Code
Nothing New Since Your Last Visit
8937
Hits

ASP Classic Coding
Icon Legend:
Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2022 Prestwood IT Solutions.   [Security & Privacy]