Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

Search the Tips

error - Page 2

Exception Handling
21-40 of 195     Previous     Next
Uploading a Large Number of Records in DB2
by Gautham Muthuravichandran
A myriad of database configuratrion issues can pop up while you're performing database-intensive operations. This tip outlines solutions to some common problems.
Remove the "Parameter Has Not Been Used in the Function" Warning
by Navin Pai
Learn about the various way to remove the warning you get for not making use of the parameter that's been passed to a function.
Avoid SQL Exceptions when Executing the Same Query Multiple Times
by Ravi Naraharasetty
Find out one reason you may be getting exceptions when you run the same query multiple times.
Send an Exception to a JSP Error Page from a Servlet
by Massimo Zerbini
Use this code to have your JSP error page access the implicit object exception to extract an error message.
How to Write Userdefined Exceptions
by Elayaraja David
Changing the Attributes of a File
Changing the Attributes of a File
Manage Errors with Sparse Line Numbering
by Bob Hiltner
Determine If an Error Has Occurred During Object Construction
by Sashikanth Maddali
Using Pointers as Integers
by Danny Kalev
In the early days of C, pointers were plain integers. Relics of this approach can still be found in vintage APIs and legacy code. For instance, the ANSI C <signal.h> header declares the ...
Transfer Data from a RichTextBox Control to an Outlook Message
by Dan Quick
When automating Outlook from a VB application, I needed to find a way to transfer data from a RichTextBox control to an Outlook message. Unfortunately using Clipboard.SetText and Clipboard.
Convert an Exception StackTrace to a String
by Kesav Kumar
This feature will be required if you want to store exceptions in a ...
Send All Your System Messages To File
by Kesav Kumar
Often, while developing a system you want to debug it using System.out.println or System.err.println. When development is over you would like to send all those messages to file. The easiest way ...
Viewing Error Outputs From Java Applets in IE
by Nitin Garg
The file Java/Javalog.txt in the Windows directory (i.e. C:\windows\Java.Javalog.txt for windows and C:\winnt\Java\Javalog.txt for NT) contains information for the last applet that was loaded by ...
Another Way to Fix a Single Quote in SQL Statements
by Thomas Wells
A generic approach to making sure a single quote (') does not cause a SQL statement to fail is to replace the single quote with two single quotes, as in the following example: ...
Determine if an Error Has Occured During Object Construction
by Sandeep Gain
This can be achieved in java by throwing an exception from your Constructor. Since Constructors cannot return a value, this is the only way you can achieve error handling.
Use VB's Date/Time Picker Control With No Date
by Jason Ingram
Using the DTPicker control is good except if you
Exception Handling, Inheritance and the Need For Strict Rules
by Anil Nair
Java has some strict rules for exception handling when it comes to inheritance and overriding of methods.
Returning a Value from a Function that Throws
by Danny Kalev
A reader asked me the following questions: "Can a function that returns something, throw a exception and still return a value?" Lets' look at a concrete ...
Passing an ActiveX Control As a Parameter
by Mahesh Hegade
Trying to pass an ActiveX control as a parameter to a method on an external ActiveX DLL (or EXE), garners a
Use printStackTrace() method to generate stack
by Deepak Pant
Stack trace is a kind of call stack, which maintains the call sequence of methods at any given point in time. Throwable class in Java provides a method called "printStackTrace()" which can be ...
21-40 of 195     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date