PM Library | classes |
class PMError | ? ^ |
Base error class.
The PMError class is the base class from which all exception objects thrown in the library are derived. These classes retrieve error information and text that you can subsequently use to create an exception object.
None of the functions in this class throws exceptions because an exception probably has been thrown already or is about to be thrown.
You can construct, destruct and copy objects of this class.
- Source:
- pm_error.h:37
- Author:
- Dmitry A.Steklenev
- Version:
- $Revision: 1.5 $
Contents | ^ |
Entity Type Scope Short Description PMError constructor public Constructs an error object describing a current GUI (PM) error. PMError constructor public Constructs an error object from the specified error id and information. PMError constructor public Copies the error object. ~PMError destructor public Destroys the error object. file method public Returns the source file name. func method public Returns the name of the function. line method public Returns the line number. what method public Returns the error description. code method public Returns the error identifier. group method public Returns the group the error originated from. show method public Displays the error information.
constructor PMError | ? ^ > |
Constructs an error object describing a current GUI (PM) error.
- Source:
- pm_error.h:49
- Params:
file Specifies the name of the source file. func Specifies the name of the function. line Specifies the line number.
constructor PMError | ? ^ < > |
Constructs an error object from the specified error id and information.
- Source:
- pm_error.h:66
- Params:
code Specifies the error identifier (error code). group Specifies the the group the error originated from. what Specifies the error description. If this parameter is omitted (NULL) then the description of the standard OS/2 DOS error code is used. file Specifies the name of the source file. func Specifies the name of the function. line Specifies the line number.
constructor PMError | ? ^ < > |
Copies the error object.
- Source:
- pm_error.h:69
- Code:
public PMError ( const PMError & )
destructor ~PMError | ? ^ < > |
Destroys the error object.
- Source:
- pm_error.h:71
- Code:
public ~ PMError ( )
method file | ? ^ < > |
Returns the source file name.
- Source:
- pm_error.h:74
- Code:
public const char * file ( ) const
method func | ? ^ < > |
Returns the name of the function.
- Source:
- pm_error.h:76
- Code:
public const char * func ( ) const
method line | ? ^ < > |
Returns the line number.
- Source:
- pm_error.h:78
- Code:
public int line ( ) const
method what | ? ^ < > |
Returns the error description.
- Source:
- pm_error.h:80
- Code:
public const char * what ( ) const
method code | ? ^ < > |
Returns the error identifier.
- Source:
- pm_error.h:82
- Code:
public int code ( ) const
method group | ? ^ < > |
Returns the group the error originated from.
- Source:
- pm_error.h:84
- Code:
public const char * group ( ) const
method show | ? ^ < > |
Displays the error information.
- Source:
- pm_error.h:93
- Param:
out Specifies the output stream. If this parameter is omitted (NULL) then displays a message box window.
- Code:
public PMError & show ( FILE * out = NULL )
Created Fri Aug 3 09:13:16 2012.
This documentation was generated automatically by
ccdoc v08r39 2003/02/27 bin_opt_emx_os2-2.30.
Click here to submit a bug report or feature request for ccdoc.
Click here to return to the top of the page.