Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions csharp/SzExceptionMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DO NOT EDIT. This code is generated.
Generated by: sz-sdk-errors/bin/generate_csharp.py
Generated for: sz-sdk-csharp/Senzing.Sdk/core/SzExceptionMapper.cs
Generated date: 2026-04-06T14:57:37.200512+00:00
Generated date: 2026-04-13T21:21:27.287622+00:00
*/

using System;
Expand Down Expand Up @@ -124,7 +124,7 @@ public static void RegisterExceptions(IDictionary<long, Type> dictionary)
dictionary.Add(1017L, typeof(SzDatabaseException)); // EAS_ERR_DATABASE_OPERATOR_NOT_SET "Database operator not set '{0}'"
dictionary.Add(1018L, typeof(SzDatabaseException)); // EAS_ERR_DATABASE_EXCEPTION_GENERATOR_NOT_SET "Database exception generator not set '{0}'"
dictionary.Add(1019L, typeof(SzConfigurationException)); // EAS_ERR_DATABASE_SCHEMA_TABLES_NOT_FOUND "Datastore schema tables not found. [{0}]"
dictionary.Add(1020L, typeof(SzException)); // EAS_ERR_DATABASE_CONNECTION_NEEDS_VALIDATION "Database Connection Needs Validation '{0}'"
dictionary.Add(1020L, typeof(SzDatabaseConnectionLostException)); // EAS_ERR_DATABASE_CONNECTION_NEEDS_VALIDATION "Database Connection Needs Validation '{0}'"
dictionary.Add(2001L, typeof(SzConfigurationException)); // EAS_ERR_FEATURE_HAS_NO_FTYPE_CODE "Cannot process feature with no FTYPE_CODE[{0}]"
dictionary.Add(2002L, typeof(SzException)); // EAS_ERR_REQUESTED_CONFIG_FOR_INVALID_FTYPE_CODE "Requested config for invalid FTYPE_CODE[{0}]"
dictionary.Add(2003L, typeof(SzException)); // EAS_ERR_NO_FELEM_CODE "Cannot process OBS_FELEM with no FELEM_CODE[{0}]"
Expand Down
4 changes: 2 additions & 2 deletions go/szerrortypes.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// DO NOT EDIT. This code is generated.
// Generated by: sz-sdk-errors/bin/generate_go.py
// Generated for: sz-sdk-go/szerror/szerrortypes.go
// Generated date: 2026-04-06T14:57:37.551431+00:00
// Generated date: 2026-04-13T21:21:27.710196+00:00

package szerror

Expand Down Expand Up @@ -108,7 +108,7 @@ var SzErrorTypes = map[int][]TypeIDs{
1017: {SzDatabaseError, SzUnrecoverableError, SzError}, // EAS_ERR_DATABASE_OPERATOR_NOT_SET - Database operator not set '{0}'
1018: {SzDatabaseError, SzUnrecoverableError, SzError}, // EAS_ERR_DATABASE_EXCEPTION_GENERATOR_NOT_SET - Database exception generator not set '{0}'
1019: {SzConfigurationError, SzGeneralError, SzError}, // EAS_ERR_DATABASE_SCHEMA_TABLES_NOT_FOUND - Datastore schema tables not found. [{0}]
1020: {SzError}, // EAS_ERR_DATABASE_CONNECTION_NEEDS_VALIDATION - Database Connection Needs Validation '{0}'
1020: {SzDatabaseConnectionLostError, SzRetryableError, SzError}, // EAS_ERR_DATABASE_CONNECTION_NEEDS_VALIDATION - Database Connection Needs Validation '{0}'
2001: {SzConfigurationError, SzGeneralError, SzError}, // EAS_ERR_FEATURE_HAS_NO_FTYPE_CODE - Cannot process feature with no FTYPE_CODE[{0}]
2002: {SzError}, // EAS_ERR_REQUESTED_CONFIG_FOR_INVALID_FTYPE_CODE - Requested config for invalid FTYPE_CODE[{0}]
2003: {SzError}, // EAS_ERR_NO_FELEM_CODE - Cannot process OBS_FELEM with no FELEM_CODE[{0}]
Expand Down
4 changes: 2 additions & 2 deletions java/SzExceptionMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
DO NOT EDIT. This code is generated.
Generated by: sz-sdk-errors/bin/generate_java.py
Generated for: sz-sdk-java/src/main/java/com/senzing/sdk/core/SzExceptionMapper.java
Generated date: 2026-04-06T14:57:38.041178+00:00
Generated date: 2026-04-13T21:21:28.467396+00:00
*/

package com.senzing.sdk.core;
Expand Down Expand Up @@ -127,7 +127,7 @@ public static void registerExceptions(Map<Integer, Class<? extends SzException>>
map.put(1017, SzDatabaseException.class); // EAS_ERR_DATABASE_OPERATOR_NOT_SET "Database operator not set '{0}'"
map.put(1018, SzDatabaseException.class); // EAS_ERR_DATABASE_EXCEPTION_GENERATOR_NOT_SET "Database exception generator not set '{0}'"
map.put(1019, SzConfigurationException.class); // EAS_ERR_DATABASE_SCHEMA_TABLES_NOT_FOUND "Datastore schema tables not found. [{0}]"
map.put(1020, SzException.class); // EAS_ERR_DATABASE_CONNECTION_NEEDS_VALIDATION "Database Connection Needs Validation '{0}'"
map.put(1020, SzDatabaseConnectionLostException.class); // EAS_ERR_DATABASE_CONNECTION_NEEDS_VALIDATION "Database Connection Needs Validation '{0}'"
map.put(2001, SzConfigurationException.class); // EAS_ERR_FEATURE_HAS_NO_FTYPE_CODE "Cannot process feature with no FTYPE_CODE[{0}]"
map.put(2002, SzException.class); // EAS_ERR_REQUESTED_CONFIG_FOR_INVALID_FTYPE_CODE "Requested config for invalid FTYPE_CODE[{0}]"
map.put(2003, SzException.class); // EAS_ERR_NO_FELEM_CODE "Cannot process OBS_FELEM with no FELEM_CODE[{0}]"
Expand Down
4 changes: 2 additions & 2 deletions python/szerror.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
DO NOT EDIT. This code is generated.
Generated by: sz-sdk-errors/bin/generate_python.py
Generated for: sz-sdk-python/src/senzing/szerror.py
Generated date: 2026-04-06T14:57:38.345855+00:00
Generated date: 2026-04-13T21:21:28.840885+00:00
"""
# Metadata

Expand Down Expand Up @@ -252,7 +252,7 @@ class SzUnhandledError(SzUnrecoverableError):
1017: SzDatabaseError, # EAS_ERR_DATABASE_OPERATOR_NOT_SET "Database operator not set '{0}'"
1018: SzDatabaseError, # EAS_ERR_DATABASE_EXCEPTION_GENERATOR_NOT_SET "Database exception generator not set '{0}'"
1019: SzConfigurationError, # EAS_ERR_DATABASE_SCHEMA_TABLES_NOT_FOUND "Datastore schema tables not found. [{0}]"
1020: SzError, # EAS_ERR_DATABASE_CONNECTION_NEEDS_VALIDATION "Database Connection Needs Validation '{0}'"
1020: SzDatabaseConnectionLostError, # EAS_ERR_DATABASE_CONNECTION_NEEDS_VALIDATION "Database Connection Needs Validation '{0}'"
2001: SzConfigurationError, # EAS_ERR_FEATURE_HAS_NO_FTYPE_CODE "Cannot process feature with no FTYPE_CODE[{0}]"
2002: SzError, # EAS_ERR_REQUESTED_CONFIG_FOR_INVALID_FTYPE_CODE "Requested config for invalid FTYPE_CODE[{0}]"
2003: SzError, # EAS_ERR_NO_FELEM_CODE "Cannot process OBS_FELEM with no FELEM_CODE[{0}]"
Expand Down
4 changes: 3 additions & 1 deletion rust/errortypes.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// DO NOT EDIT. This code is generated.
// Generated by: sz-sdk-errors/bin/generate_rust.py
// Generated for: sz-sdk-rust/src/errortypes.rs
// Generated date: 2026-02-02T14:56:35.073925+00:00
// Generated date: 2026-04-13T21:21:29.237316+00:00

use phf::phf_map;

Expand Down Expand Up @@ -106,6 +106,7 @@ pub static SZ_ERROR_TYPES: phf::Map<i32, SzError> = phf_map! {
1017_i32 => SzError::SzDatabaseError, // EAS_ERR_DATABASE_OPERATOR_NOT_SET - Database operator not set '{0}'
1018_i32 => SzError::SzDatabaseError, // EAS_ERR_DATABASE_EXCEPTION_GENERATOR_NOT_SET - Database exception generator not set '{0}'
1019_i32 => SzError::SzConfigurationError, // EAS_ERR_DATABASE_SCHEMA_TABLES_NOT_FOUND - Datastore schema tables not found. [{0}]
1020_i32 => SzError::SzDatabaseConnectionLostError, // EAS_ERR_DATABASE_CONNECTION_NEEDS_VALIDATION - Database Connection Needs Validation '{0}'
2001_i32 => SzError::SzConfigurationError, // EAS_ERR_FEATURE_HAS_NO_FTYPE_CODE - Cannot process feature with no FTYPE_CODE[{0}]
2002_i32 => SzError::SzError, // EAS_ERR_REQUESTED_CONFIG_FOR_INVALID_FTYPE_CODE - Requested config for invalid FTYPE_CODE[{0}]
2003_i32 => SzError::SzError, // EAS_ERR_NO_FELEM_CODE - Cannot process OBS_FELEM with no FELEM_CODE[{0}]
Expand Down Expand Up @@ -464,4 +465,5 @@ pub static SZ_ERROR_TYPES: phf::Map<i32, SzError> = phf_map! {
9804_i32 => SzError::SzError, // EAS_ERR_NULL_PARAMETER - Invalid null parameter [{1}] passed to function [{0}]
9805_i32 => SzError::SzError, // EAS_ERR_ADDRESS_INTERPRETER_NOT_INITIALIZED - AddressInterpreter not initialized - initializeAI() must be called before primeAddressInterpreter()
9806_i32 => SzError::SzError, // EAS_ERR_GNR_RESOURCE_HANDLE_NOT_INITIALIZED - GNRResourceHandle not initialized - primeGNRResources() must be called first
9807_i32 => SzError::SzError, // EAS_ERR_ADDRESS_INTERPRETER_INIT_FAILED - AddressInterpreter initialization failed: {0}
};
2 changes: 1 addition & 1 deletion szerrors.json
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@
},
"1020": {
"code": "SENZ1020",
"class": "SzError",
"class": "SzDatabaseConnectionLostError",
"name": "EAS_ERR_DATABASE_CONNECTION_NEEDS_VALIDATION",
"comment": "Database Connection Needs Validation '{0}'"
},
Expand Down
Loading