Cuminas DjVu SDK for .NET Framework
ErrorCode Property



Gets the error code associated the exception.
Syntax
Public ReadOnly Property ErrorCode As ErrorCode
Dim instance As DjVuException
Dim value As ErrorCode
 
value = instance.ErrorCode
public ErrorCode ErrorCode {get;}
public:
property ErrorCode ErrorCode {
   ErrorCode get();
}
Remarks

The code can be one of the following codes:

Code DjVu SDK notation Description
-2 errInternalError General Internal Error.
-1 errUnknown Errors that is not known to the system.
0 errSuccess Success.
1 errOutOfMemory Out of memory.
2 errBadAccess The access is not permitted in the current config.
3 errAccessDenied The access is denied (by permission).
4 errNotPermitted The operation is not permitted.
5 errAuthFailed Authentication failed.
6 errAuthRequired Authentication required.
7 errInvalidParam One of the parameter passed to the function is invalid.
8 errDivByZero Division by 0.
9 errInvalidState The internal status of the object is invalid.
10 errAlreadyExists The resource name has been already in use.
11 errNotAvailable The resource specified is not available now.
12 errNotFound The resource by that name (Id) is not found.
13 errEOF The pointer of the stream/storage exceeds the EOF.
14 errInitializationFailed Initialization failed.
15 errOpenFailed Some errors are occurred during opening the resource.
16 errReadFailed readBytes failed.
17 errWriteFailed writeBytes failed.
18 errSetPosFailed setPos failed.
19 errBufferOverFlow Buffer overflow, usually caused by passing small buffer.
20 errDataBroken The data is broken or unsupported structure.
21 errStringTooLong The string passed is too long.
22 errTypeMismatch Object type mismatch.
23 errChecksumError Checksum validation failed.
24 errProcessCanceled Process is canceled.
25 errStorageIsProtected The storage is PFZ.
26 errOperationFailed The requested operation is not completed.
27 errNotSupported The operation/object requested is not supported.
28 errNotImplemented The function called is not implemented.
29 errAssertionFailed For debugging purpose; assertion failed.
30 errSecurityValidation The operation violates the current security settings.
31 errLicenseViolation The operation is not permitted by license.
32 errCartridgeNotEnough Not enough cartridge to process your request.
33 errTooManyCartridges Too many cartridges installed on the system.
34 errTimeStampError Time stamp is not valid.
35 errTrialConfiction There's already a trial cartridge.
36 errLicenseExpired The license is expired.
37 errMachineIdMismatch The machine ID is different.
38 errNullPointer Null Pointer Exception.
39 errDataTooLarge Data too large.
40 errSemInitFailed Initialization of a Semaphore failed.
41 errMutexInitFailed Initialization of a Mutex failed.
42 errEventInitFailed Initialization of an Event failed.
43 errGateInitFailed Initialization of a Gate failed.
44 errLockFailed Lock failed.
45 errUnlockFailed Unlock failed.
46 errSignalFailed Sending signal failed.
47 errWaitFaild Waiting the synchronization objects failed.
48 errBeginThreadFailed The thread could be started.
49 errAlreadyRunning The thread is already running.
50 errNotRunning The thread is not running.

 

For more information, see Cuminas DjVu SDK for C++.

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

DjVuException Class
DjVuException Members

Send Feedback