JCL Help:TJclCppExceptionFlags

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Controls the creation of Delphi exception wrapper objects for C++ exceptions.


Pascal

 TJclCppExceptionFlags = set of (cefPrependCppClassName);


Description

The following values are defined:

  • cefPrependCppClassName - specifies whether the name of the C++ class is to be included in the exception message. For example, a std::runtime_error will generate the error message "[std::runtime_error] <exception message>". This may be helpful for error diagnosis during development, but it should not be in the final application because users will find the cryptic prefix irritating. Note that the original class name can still be retrieved using EJclCppException.TypeName.


About

Unit

JclCppException


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page