comparison Core/Enumerations.h @ 1582:bd1889029cbb

encoding of exceptions
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Aug 2015 17:39:38 +0200
parents 357c4bb15701
children 9ea3d082b064
comparison
equal deleted inserted replaced
1581:357c4bb15701 1582:bd1889029cbb
65 ErrorCode_BadFileFormat = 15 /*!< Bad file format */, 65 ErrorCode_BadFileFormat = 15 /*!< Bad file format */,
66 ErrorCode_Timeout = 16 /*!< Timeout */, 66 ErrorCode_Timeout = 16 /*!< Timeout */,
67 ErrorCode_UnknownResource = 17 /*!< Unknown resource */, 67 ErrorCode_UnknownResource = 17 /*!< Unknown resource */,
68 ErrorCode_IncompatibleDatabaseVersion = 18 /*!< Incompatible version of the database */, 68 ErrorCode_IncompatibleDatabaseVersion = 18 /*!< Incompatible version of the database */,
69 ErrorCode_FullStorage = 19 /*!< The file storage is full */, 69 ErrorCode_FullStorage = 19 /*!< The file storage is full */,
70 ErrorCode_CorruptedFile = 20 /*!< Corrupted file (inconsistent MD5 hash) */, 70 ErrorCode_CorruptedFile = 20 /*!< Corrupted file (e.g. inconsistent MD5 hash) */,
71 ErrorCode_InexistentTag = 21 /*!< Inexistent tag */, 71 ErrorCode_InexistentTag = 21 /*!< Inexistent tag */,
72 ErrorCode_ReadOnly = 22 /*!< Cannot modify a read-only data structure */, 72 ErrorCode_ReadOnly = 22 /*!< Cannot modify a read-only data structure */,
73 ErrorCode_IncompatibleImageFormat = 23 /*!< Incompatible format of the images */, 73 ErrorCode_IncompatibleImageFormat = 23 /*!< Incompatible format of the images */,
74 ErrorCode_IncompatibleImageSize = 24 /*!< Incompatible size of the images */, 74 ErrorCode_IncompatibleImageSize = 24 /*!< Incompatible size of the images */,
75 ErrorCode_SharedLibrary = 25 /*!< Error while using a shared library (plugin) */, 75 ErrorCode_SharedLibrary = 25 /*!< Error while using a shared library (plugin) */,
76 ErrorCode_UnknownPluginService = 26 /*!< Plugin invoking an unknown service */ 76 ErrorCode_UnknownPluginService = 26 /*!< Plugin invoking an unknown service */,
77 ErrorCode_UnknownDicomTag = 27 /*!< Unknown DICOM tag */,
78 ErrorCode_SQLiteNotOpened = 1000 /*!< SQLite: The database is not opened */,
79 ErrorCode_SQLiteAlreadyOpened = 1001 /*!< SQLite: Connection is already open */,
80 ErrorCode_SQLiteCannotOpen = 1002 /*!< SQLite: Unable to open the database */,
81 ErrorCode_SQLiteStatementAlreadyUsed = 1003 /*!< SQLite: This cached statement is already being referred to */,
82 ErrorCode_SQLiteExecute = 1004 /*!< SQLite: Cannot execute a command */,
83 ErrorCode_SQLiteRollbackWithoutTransaction = 1005 /*!< SQLite: Rolling back a nonexistent transaction (have you called Begin()?) */,
84 ErrorCode_SQLiteCommitWithoutTransaction = 1006 /*!< SQLite: Committing a nonexistent transaction */,
85 ErrorCode_SQLiteRegisterFunction = 1007 /*!< SQLite: Unable to register a function */,
86 ErrorCode_SQLiteFlush = 1008 /*!< SQLite: Unable to flush the database */,
87 ErrorCode_SQLiteCannotRun = 1009 /*!< SQLite: Cannot run a cached statement */,
88 ErrorCode_SQLiteCannotStep = 1010 /*!< SQLite: Cannot step over a cached statement */,
89 ErrorCode_SQLiteBindOutOfRange = 1011 /*!< SQLite: Bing a value while out of range (serious error) */,
90 ErrorCode_SQLitePrepareStatement = 1012 /*!< SQLite: Cannot prepare a cached statement */,
91 ErrorCode_SQLiteTransactionAlreadyStarted = 1013 /*!< SQLite: Beginning the same transaction twice */,
92 ErrorCode_SQLiteTransactionCommit = 1014 /*!< SQLite: Failure when committing the transaction */,
93 ErrorCode_SQLiteTransactionBegin = 1015 /*!< SQLite: Cannot start a transaction */,
94 ErrorCode_DirectoryOverFile = 2000 /*!< The directory to be created is already occupied by a regular file */,
95 ErrorCode_FileStorageCannotWrite = 2001 /*!< Unable to create a subdirectory or a file in the file storage */,
96 ErrorCode_DirectoryExpected = 2002 /*!< The specified path does not point to a directory */,
97 ErrorCode_HttpPortInUse = 2003 /*!< The TCP port of the HTTP server is already in use */,
98 ErrorCode_DicomPortInUse = 2004 /*!< The TCP port of the DICOM server is already in use */,
99 ErrorCode_BadHttpStatusInRest = 2005 /*!< This HTTP status is not allowed in a REST API */,
100 ErrorCode_RegularFileExpected = 2006 /*!< The specified path does not point to a regular file */,
101 ErrorCode_PathToExecutable = 2007 /*!< Unable to get the path to the executable */,
102 ErrorCode_MakeDirectory = 2008 /*!< Cannot create a directory */,
103 ErrorCode_BadApplicationEntityTitle = 2009 /*!< An application entity title (AET) cannot be empty or be longer than 16 characters */,
104 ErrorCode_NoCFindHandler = 2010 /*!< No request handler factory for DICOM C-FIND SCP */,
105 ErrorCode_NoCMoveHandler = 2011 /*!< No request handler factory for DICOM C-MOVE SCP */,
106 ErrorCode_NoCStoreHandler = 2012 /*!< No request handler factory for DICOM C-STORE SCP */,
107 ErrorCode_NoApplicationEntityFilter = 2013 /*!< No application entity filter */,
108 ErrorCode_NoSopClassOrInstance = 2014 /*!< DicomUserConnection: Unable to find the SOP class and instance */,
109 ErrorCode_NoPresentationContext = 2015 /*!< DicomUserConnection: No acceptable presentation context for modality */,
110 ErrorCode_DicomFindUnavailable = 2016 /*!< DicomUserConnection: The C-FIND command is not supported by the remote SCP */,
111 ErrorCode_DicomMoveUnavailable = 2017 /*!< DicomUserConnection: The C-MOVE command is not supported by the remote SCP */,
112 ErrorCode_CannotStoreInstance = 2018 /*!< Cannot store an instance */,
113 ErrorCode_CreateDicomNotString = 2019 /*!< Only string values are supported when creating DICOM instances */,
114 ErrorCode_CreateDicomOverrideTag = 2020 /*!< Trying to override a value inherited from a parent module */,
115 ErrorCode_CreateDicomUseContent = 2021 /*!< Use \"Content\" to inject an image into a new DICOM instance */,
116 ErrorCode_CreateDicomNoPayload = 2022 /*!< No payload is present for one instance in the series */,
117 ErrorCode_CreateDicomUseDataUriScheme = 2023 /*!< The payload of the DICOM instance must be specified according to Data URI scheme */,
118 ErrorCode_CreateDicomBadParent = 2024 /*!< Trying to attach a new DICOM instance to an inexistent resource */,
119 ErrorCode_CreateDicomParentIsInstance = 2025 /*!< Trying to attach a new DICOM instance to an instance (must be a series, study or patient) */,
120 ErrorCode_CreateDicomParentEncoding = 2026 /*!< Unable to get the encoding of the parent resource */,
121 ErrorCode_UnknownModality = 2027 /*!< Unknown modality */,
122 ErrorCode_BadJobOrdering = 2028 /*!< Bad ordering of filters in a job */
77 }; 123 };
78 124
79 enum LogLevel 125 enum LogLevel
80 { 126 {
81 LogLevel_Error, 127 LogLevel_Error,