Allow creation of HandlerExecutionExceptions without stacktrace #1901
Labels
Ideal for Contribution
Priority 3: Could
Low priority. Issues that are nice to have but have a straightforward workaround.
Status: Resolved
Use to signal that work on this issue is done.
Type: Enhancement
Use to signal an issue enhances an already existing feature of the project.
Milestone
Enhancement Description
Since
HandlerExecutionExceptions
are essentially carriers for error codes, their stacktrace is not of great value in common scenarios of passing error codes between JVMs. For this reason, I think it would be sensible to add thewritableStackTrace
parameter to the constructors ofHandlerExecutionExceptions
. That way a programmer can decide if stacktrace is important enough to pay the penalty of creating it.Related discussion with a bit more details: https://discuss.axoniq.io/t/handlerexecutionexception-stacktrace-necessary/3453
Current Behaviour
At the moment there is no
writableStackTrace
parameter in the API ofHandlerExecutionException
constructors.Tnx
The text was updated successfully, but these errors were encountered: