|
#define | THROW_ALD_ERROR(err, msg) throw err(msg, "") |
|
#define | THROW_ALD_ERROR_DET(err, msg, det) throw err(msg, det) |
|
#define | THROW_TRACE_ALD_ERROR(err, msg) throw err(msg, "", __FILE__, __FUNCTION__, __LINE__) |
|
#define | THROW_TRACE_ALD_ERROR_DET(err, msg) throw err(msg, det, __FILE__, __FUNCTION__, __LINE__) |
|
#define | ALD_ERROR(msg) THROW_ALD_ERROR(EALDError, msg) |
|
#define | ALD_ERROR_DET(msg, det) THROW_ALD_ERROR_DET(EALDError, msg, det) |
|
#define | ALD_CHECK_PTR_DESC(ptr, desc) {if(!(ptr)) THROW_TRACE_ALD_ERROR(EALDOutOfMemory, desc);} |
|
#define | ALD_CHECK_PTR(ptr) ALD_CHECK_PTR_DESC(ptr, "") |
|
#define | ALD_INTERNAL_ERROR(msg) THROW_TRACE_ALD_ERROR(EALDInternalError, msg) |
|
#define | ALD_CHECK(condition, desc) {if(!(condition)) THROW_ALD_ERROR(EALDCheckError, desc);} |
|
#define | ALD_SIGINT throw EALDSigIntError() |
|
#define | ALD_SIGTERM throw EALDSigTermError() |
|
#define | ALD_PERM_ERROR(msg) THROW_ALD_ERROR(EALDPermError, msg) |
|
|
#define | ALD_ERR_BASE 100 |
|
#define | ALD_ERR_NO_ERR 0 |
|
#define | ALD_ERR_OUT_OF_MEMORY ENOMEM |
|
#define | ALD_ERR_UNKNOWN ALD_ERR_BASE+1 |
|
#define | ALD_ERR_INTERNAL ALD_ERR_BASE+2 |
|
#define | ALD_ERR_KERBEROS ALD_ERR_BASE+3 |
|
#define | ALD_ERR_LDAP ALD_ERR_BASE+4 |
|
#define | ALD_ERR_EXEC ALD_ERR_BASE+5 |
|
#define | ALD_ERR_CONFIG ALD_ERR_BASE+6 |
|
#define | ALD_ERR_CONDITIONS ALD_ERR_BASE+7 |
|
#define | ALD_ERR_IN_FORCE ALD_ERR_BASE+8 |
|
#define | ALD_ERR_NOT_FOUND ALD_ERR_BASE+9 |
|
#define | ALD_ERR_REFUSE ALD_ERR_BASE+10 |
|
#define | ALD_ERR_FILE_IO ALD_ERR_BASE+11 |
|
#define | ALD_ERR_USAGE ALD_ERR_BASE+12 |
|
#define | ALD_ERR_PERMISSION ALD_ERR_BASE+13 |
|
Работа с исключениями Astra Linux Directory.