|
41-60 of 274
Previous
Next |
|
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.
|
|
View Recordsets in Temporary Grids
by Nazmul Siddiqui
An alternate, convenient way to view recordsets in debug mode is to persist a recordset to disk using rs.save MyFileUNC.ADTG in the immediate window. Note that the file must be of ADTG type (*.
|
|
Populating Controls From a Recordset
by Nazmul Siddiqui
On a form, basing populating controls on a supplied record may lead to error, because a perfect match is needed between the control tags and the field list. Any pre-specified error handler jumps ...
|
|
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 ...
|
|
Significance of const Return
by DevX Pro
What is the significance of const return type from a function?
Similar to:
const int func1();
|
|
Rethrowing a Throwable Exception in Your Code
by Mahesh Chulet
Use the fillInStackTrace() method to rethrow a Throwable type of exceptional condition in your code. This is useful if you want to rethrow a exception that occurred while using a method or creating a ...
|
|
xp_cmdshell and Windows Apps
by DevX Pro
Why can't I run an application like ws-ftp from SQL with xp_xmdshell?
ws-ftp will start, but it's not visible on the screen.
|
|
Violating an Exception Specification
by Danny Kalev
The implementation ensures that functions having an exception specification should throw only exceptions that are listed in their exception specification. For ...
|
|
Cannot Quit FoxPro
by DevX Pro
I have built an executable file and included a READ EVENTS command. After running the .exe, I am unable to quit VFP. The message I get reads: "Cannot quit FoxPro."
|
|
Function's Return Value
by DevX Pro
I'd like to know how can I make a return of a function's local variable (for example, a reference to it) not using pointers technique?
|
|
Keyword 'huge'
by DevX Pro
I am getting a compile error 'huge' obsolete keyword. I am converting a process from Visual C++ 2.0 to 6.0. What keyword could I use in place of 'huge'?
|
|
Stack Unwinding in the Event of an Uncaught Exception
by Danny Kalev
When an exception is thrown and no matching handler can be found for it, C++ invokes the function terminate(). By default, terminates invokes the function abort(). Some compilers guarantee that at ...
|
|
Differences in Execution Flow
by DevX Pro
Why would a program not yield any errors, and yet not run on one system, while resulting in a perfect run (unchanged) on another system? Specifically, a switch statement was completely ignored on my system, yet functioned accurately on my professor's.
|
|
Project Reference
by DevX Pro
In a code I'm developing, I am getting a "can't find project or library" error message when it gets to the following functions: Chr(), Right(), Left(). Aren't these VB predefined functions? If not, what project reference do I need to add?
|
|
Error Handling Routines
by DevX Pro
While converting source code from C to C++, I came up with difficulties in converting error handling routines like err_quit(),err_sys(),etc. Are there C++ versions of these functions and where can I find them?
|
|
Workaround for SendKeys
by Bobby Orr
Sendkeys "{TAB}" can lockup the keyboard in Windows 2000. Here's how ...
|
|
41-60 of 274
Previous
Next |