Error Handling Snippets


31 July, 2012   

Boiler Plate for T-Sql Error handling

13 November, 2011   

Boiler Plate for T-Sql Error handling

11 April, 2013   

Pull external HTML code from a file right into your webpage

01 February, 2011   

Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible, because...

17 February, 2019   

Missing images will either just display nothing, or display a [ ? ] style box when their source cannot be found. Instead, you may want to replace that with a "missing image" graphic that you are sure exists so there is better visual feedback that something is wrong. Or, you might want to hide it entirely. This is possible because...

09 January, 2013   

Better way to handle Broken Image. Missing images will either just display nothing, or display a [ ? ] style box.

01 October, 2011   

An example of Exception Handling in PL SQL

29 January, 2011   

Cufon 101

To create the formatter paste this code into a new file and name it sfWidgetFormSchemaFormatterDefList.class.php. I saved it in /lib but it also makes sense to put it in /lib/form, depending on your personal preference.

06 November, 2013   

Example shows how to handle window closing events. This is a very basic event handling when you are working on a UI Application.

15 March, 2011   

This comes down to fixing a simple, yet annoying bug in IE’s capability of handling min-height. In essence, IE interprets height as min-height, so since IE wont implement the auto height, this snippet will fix all this for us.

21 January, 2013   

VB code to add data using access

15 November, 2012   

If one of the input values is zero, then the program will end with an error code of "1" in the job control card listing following the execution of the program. Normal output will be one line printed with A, B, C, and AREA. No specific units are stated.

22 March, 2015   

Program shows copying one text file from source location to any other location (destination), plus possibility of changing its name, and also shows many language features in exception handling. This program should be run from the command prompt

15 November, 2012   

This program has two input checks: one for a blank card to indicate end-of-data, and the other for a zero value within the input data. Either condition causes a message to be printed.

02 November, 2016   

A PHP template for dealing with any sort of error

12 January, 2014   

This is a pretty simple little snippet, but it help understanding how to use relational tables w/in PHP.

25 February, 2013   

AppleScript code example to restart Django development server

30 January, 2012   

The following code block illustrates the use of TYPE..IS... and VARRAY. In this sample, a type v_arr is defined as an variable array of maximum 25 elements which are of type NUMBER(3). Then a variable v1 is defined as type v_arr . This sample code also demonstrates the use of %TYPE attribute.

10 November, 2014   

Easy way to parses RSS into an array