Skip to main content
Kofax

MarkView All Components - What is the meaning of the error codes raised out of MV_SCHEME?

3869
304101

Question / Problem: 

MarkView All Components - What is the meaning of the error codes raised out of MV_SCHEME?

Answer / Solution: 

There are instances where calls to procedures and functions in the MV_SCHEME package will raise errors, but there is no "text" included, just an error number. How do I figure out what the error codes mean?
 

The error constants defined in this package are as follows.

INVALID_FILENAME_SCHEME Exception;
PRAGMA EXCEPTION_INIT (INVALID_FILENAME_SCHEME, -20001);

-- Raised by the function CompleteFilename if the FilenameScheme is not defined as a custom scheme

INVALID_FILENAME Exception;
PRAGMA EXCEPTION_INIT (INVALID_FILENAME, -20002);

-- The filename base (fbase) is defined as the part of the filename up to but not including the "."
-- If the scheme is 1110, this error is raised if the fbase is < 3 characters
-- If the scheme is 11110, this error is raised if the fbase is < 4 characters

INVALID_IMAGE Exception;
PRAGMA EXCEPTION_INIT (INVALID_IMAGE, -20003);

-- Raised by the function CompleteFilename if the given ImageID is not valid in MV_IMAGE

INVALID_WORKSTATION Exception;
PRAGMA EXCEPTION_INIT (INVALID_WORKSTATION, -20004);

-- Raised by the function CompleteFilename if the given WorkstationSerialNumber is not valid in
-- MV_WORKSTATION

NO_VOLUME_PATH Exception;
PRAGMA EXCEPTION_INIT (NO_VOLUME_PATH, -20005);

-- Raised by the function CompleteFilename if the given if the image is not accessible from the
-- platform identified by the specified PlatformID or WorkstationSerialNumber (based on inputs).

INVALID_PLATFORM Exception;
PRAGMA EXCEPTION_INIT (INVALID_PLATFORM, -20006);

-- Raised by the function CompleteFilename if the specified WorkstationSerialNumber is unknown.

Applies to:  

Product Version Category
MarkView All Troubleshooting

 

Author:  Aidan Sullivan

3/20/2012 : Article Created