To display the error message generated by an exception to the user, you use:

a) the Message method of class Exception
b) the Message property of class Exception
c) the ErrorMessage method of class Exception
d) the ErrorMessage property of class Exception


b) the Message property of class Exception

Computer Science & Information Technology

You might also like to view...

Answer the following statements true (T) or false (F)

1. Under Windows XP, application programs are not allowed to directly access the hardware or the device drivers, so when a user issues a command (through the user interface) that requires operating system support, the program communicates with the kernel through an application programming interface or API. 2. Under Windows XP, rather than incorporating the API’s routines and protocols into each application program, key functions and data are stored on the dynamic link library (DLL). 3. Under Windows XP, the integral subsystem is a kernel user mode component. 4. A service is a program or process that performs a specific system function to support other programs. 5. Under Windows XP, the Hardware Abstraction Layer (HAL) acts as a file system.

Computer Science & Information Technology

You can double-click Input (Image) to insert a new radio button form control, as shown in the accompanying figure.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following applies to a device with a screen or to a device with a minimum width of 500px?

A. screen and (min-width: 500px) B. screen, (min-width: 500px) C. screen and (max-width: 500px) D. screen, (max-width: 500px)

Computer Science & Information Technology

The subclass can use attributes from the base class as if those attributes were defined in the subclass.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology