|
|
222a5e24bf
|
refactor(application): redesign exception hierarchy with flexible base class
- Replace DEXJobException with JobException base class
- Flexible params-based detail collection
- Automatic message formatting with visual separators
- Optional null-handling for contextual details
- Add JobHttpException for HTTP client failures
- Properties: ClientLibrary, ClientMethod
- Use case: ReC API, REST requests
- Add JobSqlException for SQL query failures
- Property: Query (virtual for customization)
- Use case: Main/Check query execution
- Comprehensive XML documentation for all exception classes
|
2026-07-11 16:44:10 +02:00 |
|
|
|
8a1a579501
|
feat: add DEX job exception handling and configuration
Exceptions:
- DEXJobException: custom exception with formatted error messages
* Includes query name, batch ID, SQL query, and detailed error info
* Two constructors: with inner exception or reason message
* Comprehensive XML documentation
Options:
- DexJobOptions: hierarchical configuration for DEX job execution
* Error handling per stage (MainQuery, CheckQuery, ReCRequest)
* Granular error actions (OnExecution, IfNullOrWhiteSpace, OnUnexpectedResult)
* Placeholder configuration with regex pattern support
* Default BatchId placeholder: #INT#BATCH_ID (case-insensitive)
* Fully documented with XML comments
|
2026-07-11 12:38:31 +02:00 |
|