Project

Profile

Help

Bug #6575

closed

Some exception message is empty in the PHP API

Added by O'Neil Delpratt about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Category:
PHP Extension function
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.

Please register to edit this issue

Also available in: Atom PDF