Actions
Bug #6575
closedSome exception message is empty in the PHP API
Start date:
2024-10-30
Due date:
% Done:
100%
Estimated time:
Applies to branch:
12, trunk
Fix Committed on Branch:
12, trunk
Fixed in Maintenance Release:
Found in version:
12.5
Fixed in version:
SaxonC Languages:
PHP, Python
SaxonC Platforms:
All
SaxonC Architecture:
Description
Following the raising of the bug issue #6574 message of some exceptions are coming through as empty.
This is because the PHP code is calling the getMessageWithErrorCode()
in the exception catch block. This assumes the exception is coming from the Java code under Graalvm. For exception coming directly from the C++ code the message is not captured.
Updated by O'Neil Delpratt about 2 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Applies to branch 12, trunk added
Bug fixed in the getMessageWithErrorCode()
method by using the C++ message if the exception was created by the C++ code.
Please register to edit this issue
Actions