# HG changeset patch # User Sebastien Jodogne # Date 1607251359 -3600 # Node ID 3dffe8f7af481cd42d4549774fcbc5c51949db7e # Parent 1f08180cd86f8b8d7452b9137e372f0efc6b800b new error code: ErrorCode_DiscontinuedAbi diff -r 1f08180cd86f -r 3dffe8f7af48 OrthancFramework/Resources/CodeGeneration/ErrorCodes.json --- a/OrthancFramework/Resources/CodeGeneration/ErrorCodes.json Sat Dec 05 19:15:03 2020 +0100 +++ b/OrthancFramework/Resources/CodeGeneration/ErrorCodes.json Sun Dec 06 11:42:39 2020 +0100 @@ -222,6 +222,11 @@ "Name": "SslInitialization", "Description": "Cannot initialize SSL encryption, check out your certificates" }, + { + "Code": 40, + "Name": "DiscontinuedAbi", + "Description": "Calling a function that has been removed from the Orthanc Framework" + }, diff -r 1f08180cd86f -r 3dffe8f7af48 OrthancFramework/Sources/Enumerations.cpp --- a/OrthancFramework/Sources/Enumerations.cpp Sat Dec 05 19:15:03 2020 +0100 +++ b/OrthancFramework/Sources/Enumerations.cpp Sun Dec 06 11:42:39 2020 +0100 @@ -181,6 +181,9 @@ case ErrorCode_SslInitialization: return "Cannot initialize SSL encryption, check out your certificates"; + case ErrorCode_DiscontinuedAbi: + return "Calling a function that has been removed from the Orthanc Framework"; + case ErrorCode_SQLiteNotOpened: return "SQLite: The database is not opened"; diff -r 1f08180cd86f -r 3dffe8f7af48 OrthancFramework/Sources/Enumerations.h --- a/OrthancFramework/Sources/Enumerations.h Sat Dec 05 19:15:03 2020 +0100 +++ b/OrthancFramework/Sources/Enumerations.h Sun Dec 06 11:42:39 2020 +0100 @@ -132,6 +132,7 @@ ErrorCode_CanceledJob = 37 /*!< This job was canceled */, ErrorCode_BadGeometry = 38 /*!< Geometry error encountered in Stone */, ErrorCode_SslInitialization = 39 /*!< Cannot initialize SSL encryption, check out your certificates */, + ErrorCode_DiscontinuedAbi = 40 /*!< Calling a function that has been removed from the Orthanc Framework */, ErrorCode_SQLiteNotOpened = 1000 /*!< SQLite: The database is not opened */, ErrorCode_SQLiteAlreadyOpened = 1001 /*!< SQLite: Connection is already open */, ErrorCode_SQLiteCannotOpen = 1002 /*!< SQLite: Unable to open the database */, diff -r 1f08180cd86f -r 3dffe8f7af48 OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h --- a/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Sat Dec 05 19:15:03 2020 +0100 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancCPlugin.h Sun Dec 06 11:42:39 2020 +0100 @@ -237,6 +237,7 @@ OrthancPluginErrorCode_CanceledJob = 37 /*!< This job was canceled */, OrthancPluginErrorCode_BadGeometry = 38 /*!< Geometry error encountered in Stone */, OrthancPluginErrorCode_SslInitialization = 39 /*!< Cannot initialize SSL encryption, check out your certificates */, + OrthancPluginErrorCode_DiscontinuedAbi = 40 /*!< Calling a function that has been removed from the Orthanc Framework */, OrthancPluginErrorCode_SQLiteNotOpened = 1000 /*!< SQLite: The database is not opened */, OrthancPluginErrorCode_SQLiteAlreadyOpened = 1001 /*!< SQLite: Connection is already open */, OrthancPluginErrorCode_SQLiteCannotOpen = 1002 /*!< SQLite: Unable to open the database */, diff -r 1f08180cd86f -r 3dffe8f7af48 OrthancServer/Sources/main.cpp --- a/OrthancServer/Sources/main.cpp Sat Dec 05 19:15:03 2020 +0100 +++ b/OrthancServer/Sources/main.cpp Sun Dec 06 11:42:39 2020 +0100 @@ -759,6 +759,7 @@ PrintErrorCode(ErrorCode_CanceledJob, "This job was canceled"); PrintErrorCode(ErrorCode_BadGeometry, "Geometry error encountered in Stone"); PrintErrorCode(ErrorCode_SslInitialization, "Cannot initialize SSL encryption, check out your certificates"); + PrintErrorCode(ErrorCode_DiscontinuedAbi, "Calling a function that has been removed from the Orthanc Framework"); PrintErrorCode(ErrorCode_SQLiteNotOpened, "SQLite: The database is not opened"); PrintErrorCode(ErrorCode_SQLiteAlreadyOpened, "SQLite: Connection is already open"); PrintErrorCode(ErrorCode_SQLiteCannotOpen, "SQLite: Unable to open the database");