Bpp/Standard
Error
C++
 
 
DESCRIPTION
 

This module provides facilities to manage errors.

 
SOURCE FILES
 

This section allows you to access the C++ source files of the module.

 
PARENT MODULE
 

This module is part of Bpp/Standard.

 
INCLUDED FILES
 

The files listed below are included in the interface part of the module. So any module dependent of this module is also dependent of the files listed here.

  • <stdexcept>

  • <bpp/standard/environment.hpp>

  • <bpp/standard/type.hpp>

 
NEEDED FILES
 

The files listed below are needed by the implementation part of the module. But a module dependent of this module is not necessary dependent of the files listed here.

  • <bpp/file_name.hpp>

  • <bpp/standard/class.hpp>

  • <bpp/modules.hpp>

 
INTEGRATED NAMESPACES
 

The namespaces listed below are integrated in this module. That means any element declared in one of those namespaces can now be directly used by or from this module.

  • standardType

 
MACROCOMMANDS
 

The macrocommands listed below can be used without specifying the namespace where they have been defined. That means you can not define an element by your own that have the same name.

 
TYPES
 

Here are listed the types defined in the module. To use one of them, you have to specify the namespace of the module.

  • type std_exception clException
    Exception sent by the STL.

  • type std_vector(const clError *) clErrorS
    List of errors sent by the B++ Library.

 
ERRORS
 

Here are listed the errors that are supported or generated by the module. To use one of them, you do not have to specify the namespace of the module.

  • erInvalidErrorNumber
    Invalid error number.

  • erNone
    No error.

  • erUnexpected
    Unexpected error.

  • erDataLocationParameterMissing
    The data_location parameter is missing in the initialization file.

  • erTemporaryLocationParameterMissing
    The temporary_location parameter is missing in the initialization file.

  • erTestingLocationParameterMissing
    The testing_location parameter is missing in the initialization file.

 
CONSTANTS
 

Here are listed the constants provided by the module. To use one of them, you have to specify the namespace of the module.

  • clErrorS errors()
    List of the errors declared in the B++ Library.

 
VARIABLES
 

Here are listed the variables managed by the module. To use one of them, you have to specify the namespace of the module.

  • tyBoolean errorThrown()
    Indicates if an error has been thrown.

  • ctError currentError()
    Returns the pending error that is currently being thrown.

 
FUNCTIONS
 

Here are listed the functions provided by the module. To use one of them, you have to specify the namespace of the module.

 
CLASSES
 

Here are listed the classes provided by the module. To use one of them, you have to specify the namespace of the module.

 
clError
 
 
Declaration

class clError

 
Description

Represents an error sent by the B++ Library.

 
Attributes
  • tcString message()
    Message of the error. Reading access only.

  • tyCardinal number()
    Number of the error. Reading access only.

  • tcString module()
    Module where the error occurs. Reading and writing access.

  • tcString method()
    Method where the error occurs. Reading and writing access.

  • tcString file()
    File where the error occurs. Reading and writing access.

  • tyCardinal line()
    Line where the error occurs. Reading and writing access.

 
Methods
 
 
Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org).