Represents the possible return values for LEADTOOLS DICOM methods.
public enum DicomExceptionCode Public Enum DicomExceptionCode public enum DicomExceptionCode public enum class DicomExceptionCode
| Value | Member | Description |
|---|---|---|
| 0 | Success | Success. |
| 1 | SupportLocked | Dicom support is locked. You must unlock the Medical Support. |
| 2 | NoMemory | Insufficient memory. |
| 3 | Open | Error opening the file. |
| 4 | Read | Error reading the file. |
| 5 | Write | Error writing to a file. |
| 6 | Seek | Error during search. |
| 7 | End | Error - end of file. |
| 8 | Format | Improper file format. |
| 9 | Parameter | Incorrect parameter. |
| 10 | Image | Improper image. |
| 11 | Compression | Improper compression. |
| 12 | PhotometricInterpretation | Improper photometric type. |
| 13 | Conversion | Error converting the file. |
| 14 | Range | Out of range. |
| 15 | BitsPerPixel | Improper bits per pixel. |
| 16 | QualityFactor | Improper quality factor. |
| 17 | BadPDUType | Improper PDU type. |
| 18 | BadPDULength | Improper PDU length. |
| 19 | BadPDUID | Improper PDU ID. |
| 29 | NetFailure | Network failure. |
| 30 | NetAccess | The address is a broadcast address |
| 31 | NetAddressInUse | The address is already in use |
| 32 | NetAddressNotAvailable | The address is not available from the local computer |
| 33 | NetAddressNotSupported | The address family is not supported |
| 34 | NetConnectionAborted | The virtual circuit was aborted |
| 35 | NetConnectionRefused | The attempt to connect was forcefully rejected |
| 36 | NetConnectionReset | The virtual circuit was reset by the remote side |
| 37 | NetDestinationRequired | A destination address is required |
| 38 | NetArgumentIncorrect | The namelen argument is incorrect |
| 39 | NetBlockingOperationInProgress | A blocking operation is in progress |
| 40 | NetBlockingCanceled | The blocking call was canceled |
| 41 | NetInvalidSocket | The socket has not been bound with bind |
| 42 | NetSocketAlreadyConnected | The socket is already connected |
| 43 | NetNoMoreFile | No more file descriptors are available |
| 44 | NetMessageSize | The datagram is larger than the maximum supported |
| 45 | NetDown | The network subsystem has failed |
| 46 | NetReset | The connection must be reset |
| 47 | NetUnReach | The network can't be reached from this host at this time |
| 48 | NetNoBuffers | No buffer space is available |
| 49 | NetNotConnected | The socket is not connected |
| 50 | NetNotSocket | The descriptor is not a socket |
| 51 | NetOperationNotSupported | The type does not support connection-oriented service |
| 52 | NetProtocolNotSupported | The specified protocol is not supported |
| 53 | NetProtocolType | The specified protocol is the wrong type |
| 54 | NetShutdown | The socket has been shut down |
| 55 | NetSocketNotSupported | The type is not supported in this address family |
| 56 | NetTimeout | Attempt to connect timed out without establishing a connection |
| 57 | NetWouldBlock | The socket is marked as nonblocking and the requested operation would block |
| 58 | NetHostNotFound | Authoritative Answer Host not found |
| 59 | NetNoData | Valid name = DicomExceptionCodeHelper., no data record of requested type |
| 60 | NetNoRecovery | Nonrecoverable errors |
| 61 | NetNotInitialised | The system was not initialized |
| 62 | NetSystemNotReady | Not ready for network communication |
| 63 | NetTryAgain | Non-Authoritative Host not found, or server failed |
| 64 | NetVersionNotSupported | The version requested is not provided by this implementation |
| 65 | NetSecurityBreach | There is a cryptographic error. |
| 66 | TLSInternalError | TLS internal error |
| 67 | SecurityLocked | DICOM Security Features are locked |
| 68 | TLSLibraryNotLoaded | TLS and/or CRY DLL not loaded |
| 69 | BadSecurityMode | ISCL operation attempted on TLS object |
| 70 | AnnotationFailure | Annotation error |
| 71 | AnnotationSupport | Annotation support is locked |
| 72 | AnnotationAssemblyMissing | Annotation dll is missing |
| 73 | TagAlreadyExists | LEAD private creator element already exists |
| 74 | AnnotationFileDoesntExist | Requested annotation file or page does not exist |
| 100 | ElementLengthOdd | Element Length Odd |
| 100 | ISCLBadOption | Bad option |
| 101 | ISCLBadLength | Bad length |
| 102 | ISCLLocalIccard | Error in the local IC card |
| 103 | ISCLRemoteIccard | Error in the remote IC card |
| 104 | ISCLBadMsgid | Bad message ID |
| 105 | ISCLBadVersion | Bad version number |
| 106 | ISCLBadMutualAuthMethod | Bad mutual authentication mode |
| 107 | ISCLBadCommblockLength | Bad communication block length |
| 108 | ISCLReceivedNak | Received a 'Not Acknowledged' message |
| 109 | ISCLMsgTransmission | Error in the message transmission |
| 110 | ISCLPeerSmallLength | Peer small length |
| 111 | ISCLLocalSmallLength | Local small length |
| 112 | ISCLDecrypt | Decryption error |
| 113 | ISCLBadMac | Bad message authentication code |
| 114 | ISCLRndNoForSessionKeyExpected | Round number for session key expected. |
| 115 | ISCLPeerRefuseClose | Peer refused close request. |
| 128 | TLSCloseNotify | Error in close notification |
| 129 | TLSUnexpectedMessage | Unexpected message |
| 130 | TLSBadRecordMac | Bad record message authentication code |
| 131 | TLSDecryptFailed | Decryption failed |
| 132 | TLSRecordOverflow | Record overflow |
| 133 | TLSDecompressionFailure | Decompression failed |
| 134 | TLSHandshakeFailure | Handshake failed |
| 135 | TLSBadCertificate | Bad certificate |
| 136 | TLSUnsupportedCertificate | Unsupported certificate |
| 137 | TLSCertificateRevoked | Certificate revoked |
| 138 | TLSCertificateExpired | Certificate Expired |
| 139 | TLSCertificateUnknown | Certificate unknown |
| 140 | TLSIllegalParameter | Illegal parameter |
| 141 | TLSUnknownCa | Unknown certificate authenticator |
| 142 | TLSAccessDenied | Access denied |
| 143 | TLSDecodeError | Error decoding |
| 144 | TLSDecryptError | Decryption error |
| 145 | TLSExportRestriction | Export restriction |
| 146 | TLSProtocolVersion | Wrong protocol version |
| 147 | TLSInsufficientSecurity | Insufficient security |
| 148 | TLSInternalError1 | Internal error Call LEAD |
| 149 | TLSUserCanceled | User cancelled |
| 150 | TLSNoRenegotiation | No renegotiation |
| 151 | TLSNoKeepalive | "Windows Sockets provider" does not support the use of keep-alives. |
| 152 | TLSClosedControlled | An error occurred and the connection was closed gracefully. |
| 160 | TLSUnableToGetIssuerCert | "Unable to get issuer certificate" |
| 161 | TLSUnableToGetCrl | "Unable to get CRL" |
| 162 | TLSUnableToDecryptCertSignature | "Unable to decrypt certificate signature" |
| 163 | TLSUnableToDecryptCrlSignature | "unable to decrypt CRL signature" |
| 164 | TLSUnableToDecodeIssuerPublicKey | "unable to decode issuer public key" |
| 165 | TLSCertSignatureFailure | "Certificate signature failure" |
| 166 | TLSCrlSignatureFailure | "Error TLS CRL Signature Failure" |
| 167 | TLSCertNotYetValid | "Error TLS Certificate Not Yet Valid" |
| 168 | TLSCertHasExpired | "Error TLS Certificate Has Expired" |
| 169 | TLSCrlNotYetValid | "Error TLS CRL Not Yet Valid" |
| 170 | TLSCrlHasExpired | "Error TLS CRL Has Expired" |
| 171 | TLSErrorInCertNotBeforeField | "Error TLS Error In Certificate Not Before Field" |
| 172 | TLSErrorInCertNotAfterField | "Error TLS Error In Certificate Not After Field" |
| 173 | TLSErrorInCrlLastUpdateField | "Error TLS Error In CRL Last Update Field" |
| 174 | TLSErrorInCrlNextUpdateField | "Error TLS Error In CRL Next Update Field" |
| 175 | TLSOutOfMem | "Error TLS Out Of Memory" |
| 176 | TLSDepthZeroSelfSignedCert | "Error TLS Depth Zero Self Signed Certificate" |
| 177 | TLSSelfSignedCertInChain | "Error TLS Self Signed Certificate In Chain" |
| 178 | TLSUnableToGetIssuerCertLocally | "Error TLS Unable To Get Issuer Certificate Locally". |
| 179 | TLSUnableToVerifyLeafSignature | "Error TLS Unable To Verify Leaf Signature". |
| 180 | TLSCertChainTooLong | "Error TLS Certificate Chain Too Long". |
| 181 | TLSCertRevoked | "Error TLS Certificate Revoked". |
| 182 | TLSInvalidCa | "Error TLS Invalid CA". |
| 183 | TLSPathLengthExceeded | "Error TLS Path Length Exceeded". |
| 184 | TLSInvalidPurpose | "Error TLS Invalid Purpose". |
| 185 | TLSCertUntrusted | "Error TLS Certificate Untrusted". |
| 186 | TLSCertRejected | "Error TLS Certificate Rejected". |
| 187 | TLSSubjectIssuerMismatch | "Error TLS Subject Issuer Mismatch". |
| 188 | TLSAkidSkidMismatch | "Error TLS AKID SKID Mismatch". |
| 189 | TLSAkidIssuerSerialMismatch | "Error TLS AKID Issuer Serial Mismatch". |
| 190 | TLSKeyusageNoCertsign | "Error TLS Keyusage No Certsign". |
| 191 | TLSApplicationVerification | "Error TLS Application Verification". |
| 192 | TLSInvalidCtx | "Error TLS Invalid SSL Context". |
| 193 | TLSInvalidCtxVerifyDepth | "Error TLS Invalid SSL Context Verify Depth". |
| 194 | TLSInvalidCtxVerifyMode | "Error TLS Invalid SSL Context Verify Mode". |
| 195 | TLSInvalidCtxCafile | "Error TLS Invalid SSL Context CA File". |
| 200 | DICOMDIRFolder | The destination folder of the DICOMDIR File is not specified = DicomExceptionCodeHelper., or the specified folder does not exist. |
| 201 | File | The file does not reside in the destination folder of the DICOMDIR File or in a subfolder of it = DicomExceptionCodeHelper., or the file does not exist. |
| 202 | FileId | The File ID of the specified file is invalid. Refer to the RejectInvalidFileID property for more information. |
| 203 | J2KLocked | J2K support is locked. |
| 204 | LutDescriptorMissing | LUT descriptor is missing. |
| 205 | ModalityLutMissing | Modality LUT is missing. |
| 206 | BadPixelRepresentation | Bad pixel representation. |
| 207 | PaletteColorLutDataMissing | Palette color LUT is missing. |
| 208 | FeatureNotSupported | Feature not supported. |
| 209 | VoiLutMissing | VOI LUT is missing. |
| 210 | OverlayAttributesMissing | Overlay attributes are missing. |
| 211 | OverlayActivationLayerMissing | Overlay activation layer element is missing. |
| 212 | OverlayDataMissing | Overlay data element is missing. |
| 213 | InvalidStructSize | Invalid structure size. |
| 214 | NULLPointer | NULL pointer. |
| 215 | ImageProcessingAssemblyMissing | LTIMG DLL is missing. |
| 216 | CryptoLibraryLoadFailed | Failed to load the underlying cryptographic library. |
| 217 | InvalidMacTransferSyntax | Unable to change to the MAC Calculation Transfer Syntax. |
| 218 | PrivateKeyLoadFailed | Failed to load the private key from the specified file. |
| 219 | CertificateLoadFailed | Failed to load the digital certificate from the specified file. |
| 220 | CertificateReadFailed | Failed to read the digital certificate from the Data Set. |
| 221 | KeysMismatch | The specified private key does not match the public key in the specified digital certificate. |
| 222 | InvalidMacAlgorithm | The specified Digital Signature Security Profile does not allow the use of the specified MAC Algorithm. |
| 223 | InvalidEncryptionAlgorithm | The specified Digital Signature Security Profile does not allow the use of the encryption algorithm implied by the specified keys. |
| 224 | MacIDNumberAllocateFailed | All possible values for the MAC ID Number are already used in the associated MAC Parameters Sequence. |
| 225 | CryptoLibFailure | The underlying cryptographic library failed. |
| 226 | MacParameterMissing | Failed to verify the Digital Signature because one or more of the MAC Parameters are missing. |
| 227 | MacIDNumberMissing | Failed to verify the Digital Signature because no MAC Parameters Sequence Item is referenced. |
| 228 | UnknownMacAlgorithm | Failed to verify the Digital Signature because the specified MAC Algorithm is unknown. |
| 229 | SignatureMissing | Failed to verify the Digital Signature because the Signature is missing. |
| 230 | InvalidSignature | The Digital Signature is invalid or at least one of the Digital Signatures in the Data Set is invalid. |
| 231 | CmpCodecMissing | Leadtools.Codecs.Cmp.dll is missing. |
| 232 | J2KCodecMissing | Leadtools.Codecs.J2k.dll is missing. |
| 233 | CantReplaceExistingCharacterSet | Can't replace Existing Character Set. |
| 235 | PrivateCreatorGroupInvalid | The private creator group number is invalid. |
| 236 | PrivateCreatorDataElementAlreadyExist | The private creator data element already exists. |
| 236 | PrivateCreatorDataElementAlreadyExists | The private creator data element already exists. |
| 237 | PrivateCreatorDataElementMissing | The private creator data element is missing. |
| 238 | PrivateCreatorElementsAllAllocated | All private creator elements have been allocated for this group. |
| 239 | PrivateCreatorElementInvalid | The private creator data element is invalid. |
| 240 | EncapsulatedDocumentMissing | The encapsulated document is missing. |
| 241 | InvalidElementLength | The element length is invalid. |
| 242 | EncapsulatedDocumentFailure | Failed to extract the encapsulated document. |
| 243 | EncapsulatedDocumentInvalidType | The type must be PDF or CDA. |
| 301 | PrintSCUClassNotSupported | The required SOP/Meta SOP Class is not supported on the Association (refer to the method itself) |
| 302 | PrintSCUTimeout | Timed out (refer to the Timeout property) |
| 303 | PrintSCUAssociateRQRejected | The Association request was rejected by the Print SCP (refer to the Associate method) |
| 304 | PrintSCUFailureStatus | The response of the Print SCP specifies a Failure status code (the operation was not performed). |
| 305 | SopInstanceUidAlreadyExists | SOP Instance UID already exists. |
| 306 | IncompatibleListOfImages | The list of images in the dataset must all have the same width, height, and bits per pixel. |
| 307 | Ipv4Ipv6Conflict | Both IPv4 and IPv6 addresses have been passed to the same method |
| 308 | JlsFilterMissing | The Leadtools.Codecs.Jls.dll is missing |
| 400 | XmlInvalidFormat | The LeadDicomTables XML file contains invalid XML |
| 401 | XmlModuleListMissing | The LeadDicomTables XML file missing the moduleList section |
| 402 | XmlInvalidIodList | The LeadDicomTables XML iodList section is invalid |
| 403 | XmlInvalidIodModuleItem | The LeadDicomTables XML file IOD entry contains an invalid module |
| 404 | XmlModuleNotFound | The LeadDicomTables XML file IOD entry references a module that is not defined in the moduleList |
| 405 | XmlInvalidModuleElement | The LeadDicomTables XML file moduleList contains an invalid element |
| 406 | XmlInvalidModuleList | The LeadDicomTables XML moduleList section is invalid |
| 407 | XmlInvalidModulelistModuleAttribute | The LeadDicomTables XML moduleList <Module> contains an invalid attribute |
| 408 | XmlInvalidIodListModuleAttribute | The LeadDicomTables XML iodList contains an invalid module |
| 409 | XmlInvalidIodListIodAttribute | The LeadDicomTables XML iodList contains an invalid attribute |
| 410 | XmlInvalidElementList | The LeadDicomTables XML elementList is invalid |
| 411 | XmlInvalidElementListItemAttribute | The LeadDicomTables XML elementList contains an invalid attribute |
| 412 | XmlInvalidUidListItemAttribute | The LeadDicomTables XML uidList contains an invalid attribute |
| 413 | XmlInvalidConceptGroupList | The LeadDicomTables XML contextgroup section is invalid |
| 414 | XmlInvalidContextGroupAttribute | The LeadDicomTables XML contextgroup section contains an invalid group attribute |
| 415 | XmlInvalidCodedConceptAttribute | The LeadDicomTables XML contextgroup section contains an invalid coded concept attribute |
| 416 | ElementAlreadyExists | The DICOM Element already exists |
| 417 | TransferSyntaxNotSupported | DICOM Transfer Syntax is not supported |
| 418 | Canceled | Operation was canceled |
| 419 | ClassNotFound | DICOM class not found |
| 420 | JP2CodecMissing | The Leadtools.Jpeg2000.dll is missing |
| 421 | TooManyOpenFiles | Too many open files |
| 422 | DiskFull | The disk is full |
| 423 | NetHostUnreachable | The net host is unreachable |
| 424 | LtfilMissing | The Leadtools.Codecs.dll library is missing |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
