Media Selector error codes
[Content Management]


Detailed Description

Media Selector errors have ALP_CLASS_MEDIASELECTOR in the first byte, and a category code in the second byte; the low word is the actual error code. There is an error string library for ALP_CLASS_MEDIASELECTOR: you can #include <alp/errormgr_base.h>, and use alp_err_string_exists / alp_err_get_string to get human readable strings for these errors.


Defines

#define ALP_STATUS_MS_CAT   0x00010000
 Media Selector error category: Cataloger error codes.
#define ALP_STATUS_MS_CAT_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_CAT)
 Media Selector class & category: Cataloger error codes.
#define ALP_STATUS_MS_DML   0x00030000
 Media Selector error category: DML error codes.
#define ALP_STATUS_MS_DML_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_DML)
 Media Selector class & category: Catalog IPC error codes.
#define ALP_STATUS_MS_FILE   0x00040000
 Media Selector error category: Media file error codes.
#define ALP_STATUS_MS_FILE_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_FILE)
 Media Selector class & category: Media file error codes.
#define ALP_STATUS_MS_IPC   0x00020000
 Media Selector error category: Catalog IPC error codes.
#define ALP_STATUS_MS_IPC_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_IPC)
 Media Selector class & category: DML error codes.
#define ALP_STATUS_MS_MISC   0x00000000
 Media Selector error category: There should not be any Misc errors.
#define ALP_STATUS_MS_MISC_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_MISC)
 Media Selector class & category: There should nott be any Misc errors.
#define ALP_STATUS_MS_UI   0x00050000
 Media Selector error category: UI (widget/dialog) error codes.
#define ALP_STATUS_MS_UI_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_UI)
 Media Selector class & category: UI (widget/dialog) error codes.

Enumerations

enum  {
  ALP_STATUS_MS_CAT_OK = ALP_STATUS_OK, ALP_STATUS_MS_CAT_NO_COMM = ALP_STATUS_MS_CAT_ERROR + 1, ALP_STATUS_MS_CAT_DB_DONE, ALP_STATUS_MS_CAT_INVALID_PATH,
  ALP_STATUS_MS_CAT_NOT_SUPPORTED, ALP_STATUS_MS_CAT_DB_ERROR, ALP_STATUS_MS_CAT_NOTIFICATION_ERROR, ALP_STATUS_MS_CAT_FILE_NOT_FOUND,
  ALP_STATUS_MS_CAT_FILE_IO_ERROR, ALP_STATUS_MS_CAT_INTERNAL_ERROR, ALP_STATUS_MS_CAT_NO_MEMORY, ALP_STATUS_MS_CAT_BAD_PARAMETER,
  ALP_STATUS_MS_CAT_USER_ABORT, ALP_STATUS_MS_CAT_TARGET_FILE_EXISTS, ALP_STATUS_MS_CAT_UNKNOWN_SOURCE_FILE, ALP_STATUS_MS_CAT_TARGET_NAME_COLLISION
}
 Return codes specific to the Cataloger API. More...
enum  { ALP_STATUS_MS_IPC_NOT_MOUNTED = ALP_STATUS_MS_IPC_ERROR + 1, ALP_STATUS_MS_IPC_INVALID_OPERATION }
 Return codes specific to the Cataloger entry points that 'talk to' mediacatd over IPC. More...
enum  {
  ALP_STATUS_MS_OK = ALP_STATUS_OK, ALP_STATUS_MS_DML_UNIMPLEMENTED = ALP_STATUS_MS_DML_ERROR + 1, ALP_STATUS_MS_DML_NO_RECORDS, ALP_STATUS_MS_DML_NO_MORE_RECORDS,
  ALP_STATUS_MS_DML_NO_MEM, ALP_STATUS_MS_DML_INTERNAL_ERR, ALP_STATUS_MS_DML_DATABASE_ERR, ALP_STATUS_MS_DML_BAD_PARAM,
  ALP_STATUS_MS_DML_COLUMN_INVALID, ALP_STATUS_MS_DML_COLUMN_MISMATCH, ALP_STATUS_MS_DML_NOT_A_NUMBER, ALP_STATUS_MS_DML_OUT_OF_RANGE,
  ALP_STATUS_MS_DML_NOT_INDEXED, ALP_STATUS_MS_DML_SYSTEM_COLUMN, ALP_STATUS_MS_DML_FILE_DOES_NOT_EXIST
}
 Status return values for Media Selector DML. More...
enum  { ALP_STATUS_MF_UNAVAILABLE = ALP_STATUS_MS_FILE_ERROR + 1, ALP_STATUS_MF_INVALID_PARAM, ALP_STATUS_MF_PENDING }
 Return codes for the Media File API. More...
enum  AlpMsStatus { ALP_MS_STATUS_OK = 0, ALP_MS_STATUS_BAD_PARAMETER = ALP_STATUS_MS_UI_ERROR + 1 }
 Media Selector errors. More...


Define Documentation

#define ALP_STATUS_MS_CAT   0x00010000
 

Media Selector error category: Cataloger error codes.

#define ALP_STATUS_MS_CAT_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_CAT)
 

Media Selector class & category: Cataloger error codes.

#define ALP_STATUS_MS_DML   0x00030000
 

Media Selector error category: DML error codes.

#define ALP_STATUS_MS_DML_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_DML)
 

Media Selector class & category: Catalog IPC error codes.

#define ALP_STATUS_MS_FILE   0x00040000
 

Media Selector error category: Media file error codes.

#define ALP_STATUS_MS_FILE_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_FILE)
 

Media Selector class & category: Media file error codes.

#define ALP_STATUS_MS_IPC   0x00020000
 

Media Selector error category: Catalog IPC error codes.

#define ALP_STATUS_MS_IPC_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_IPC)
 

Media Selector class & category: DML error codes.

#define ALP_STATUS_MS_MISC   0x00000000
 

Media Selector error category: There should not be any Misc errors.

#define ALP_STATUS_MS_MISC_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_MISC)
 

Media Selector class & category: There should nott be any Misc errors.

#define ALP_STATUS_MS_UI   0x00050000
 

Media Selector error category: UI (widget/dialog) error codes.

#define ALP_STATUS_MS_UI_ERROR   (ALP_CLASS_MEDIASELECTOR | ALP_STATUS_MS_UI)
 

Media Selector class & category: UI (widget/dialog) error codes.


Enumeration Type Documentation

anonymous enum
 

Return codes specific to the Cataloger API.

Enumerator:
ALP_STATUS_MS_CAT_OK  = 0
ALP_STATUS_MS_CAT_NO_COMM  = 0x1D010001, IPC failure
ALP_STATUS_MS_CAT_DB_DONE  = 0x1D010002, No more data
ALP_STATUS_MS_CAT_INVALID_PATH  = 0x1D010003, Invalid path
ALP_STATUS_MS_CAT_NOT_SUPPORTED  = 0x1D010004, Not supported
ALP_STATUS_MS_CAT_DB_ERROR  = 0x1D010005, Database error
ALP_STATUS_MS_CAT_NOTIFICATION_ERROR  = 0x1D010006, Error registering or unregistering for notifications
ALP_STATUS_MS_CAT_FILE_NOT_FOUND  = 0x1D010007, File not found
ALP_STATUS_MS_CAT_FILE_IO_ERROR  = 0x1D010008, File IO error
ALP_STATUS_MS_CAT_INTERNAL_ERROR  = 0x1D010009, Internal error
ALP_STATUS_MS_CAT_NO_MEMORY  = 0x1D01000A, Not enough memory to fulfill request
ALP_STATUS_MS_CAT_BAD_PARAMETER  = 0x1D01000B, Bad parameter
ALP_STATUS_MS_CAT_USER_ABORT  = 0x1D01000C, Operation cancelled via callback
ALP_STATUS_MS_CAT_TARGET_FILE_EXISTS  = 0x1D01000D, Target file already exists
Note:
You may get this on vfat file systems, when trying to copy to (say) "test.foo" and "Test.foo" already exists
ALP_STATUS_MS_CAT_UNKNOWN_SOURCE_FILE  = 0x1D01000E, Source file not cataloged in metadata db
ALP_STATUS_MS_CAT_TARGET_NAME_COLLISION  = 0x1D01000F, Can't create filename - usually because file system is case-insensitive

anonymous enum
 

Return codes specific to the Cataloger entry points that 'talk to' mediacatd over IPC.

Enumerator:
ALP_STATUS_MS_IPC_NOT_MOUNTED  = = 0x1D020001, Not mounted
ALP_STATUS_MS_IPC_INVALID_OPERATION  = = 0x1D020002, Invalid operation

anonymous enum
 

Status return values for Media Selector DML.

Enumerator:
ALP_STATUS_MS_OK  = 0
ALP_STATUS_MS_DML_UNIMPLEMENTED  = 0x1D030001, Unimplemented feature
ALP_STATUS_MS_DML_NO_RECORDS  = 0x1D030002, No records in database
ALP_STATUS_MS_DML_NO_MORE_RECORDS  = 0x1D030003, No more records
ALP_STATUS_MS_DML_NO_MEM  = 0x1D030004, Not enough memory to complete operation
ALP_STATUS_MS_DML_INTERNAL_ERR  = 0x1D030005, Internal error
ALP_STATUS_MS_DML_DATABASE_ERR  = 0x1D030006, Database error
ALP_STATUS_MS_DML_BAD_PARAM  = 0x1D030007, Bad parameter
ALP_STATUS_MS_DML_COLUMN_INVALID  = 0x1D030008, Column does not exist
ALP_STATUS_MS_DML_COLUMN_MISMATCH  = 0x1D030009, Datatype mismatch (eg, a string in an integer column)
ALP_STATUS_MS_DML_NOT_A_NUMBER  = 0x1D03000A, Not a number
ALP_STATUS_MS_DML_OUT_OF_RANGE  = 0x1D03000B, Number out of range for datatype (eg, 4E9 in an int32)
ALP_STATUS_MS_DML_NOT_INDEXED  = 0x1D03000C, File not indexed
ALP_STATUS_MS_DML_SYSTEM_COLUMN  = 0x1D03000D, You may not set this column
ALP_STATUS_MS_DML_FILE_DOES_NOT_EXIST  = 0x1D03000E, File does not exist

anonymous enum
 

Return codes for the Media File API.

Enumerator:
ALP_STATUS_MF_UNAVAILABLE  = 0x1D040001, Resource not available
ALP_STATUS_MF_INVALID_PARAM  = 0x1D040002, Invalid parameter
ALP_STATUS_MF_PENDING  = 0x1D040003, Result is being generated by a background process

enum AlpMsStatus
 

Media Selector errors.

Enumerator:
ALP_MS_STATUS_OK  = 0
ALP_MS_STATUS_BAD_PARAMETER  = 0X1D050001, Bad parameter


Generated on Wed Jul 30 07:06:42 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.