DLException.h File Reference

#include "DLException.h"
#include <string>
#include <stdexcept>

Go to the source code of this file.

Classes

class  DLException
 Error message object used to deliver error messages in DOCLIB. More...

Enumerations

enum  DLExceptionCodes {
  DL_IO_EXCEPTION = 1, DL_FILE_NOT_FOUND_EXCEPTION = 2, DL_NOT_IMPLEMENTED_EXCEPTION = 3, DL_UNKNOWN_FILE_FORMAT_EXCEPTION = 4,
  DL_NULL_POINTER_EXCEPTION = 5, DL_UNKNOWN_OBJECT_EXCEPTION = 6, DL_WRONG_FORMAT_EXCEPTION = 7, DL_NOT_SUPPORTED_IMAGE_EXCEPTION = 8,
  DL_OUT_IMAGE_BOUNDARY_EXCEPTION = 9, DL_OUT_CHANNEL_NUMBER_EXCEPTION = 10, DL_NOT_SUPPORTED_EXCEPTION = 11, DL_UNKNOWN_TAG_EXCEPTION = 12,
  DL_MEMORY_EXCEPTION = 13, DL_PARAMETERS_EXCEPTION = 14, DL_INVALID_PAGE_NUMBER = 15, DL_DEPRECATED_EXCEPTION = 16,
  DL_INDEX_OUT_OF_BOUND = 17
}


Enumeration Type Documentation

enum DLExceptionCodes

Enum of exception types. This ID is used when throwing an DLException. User can use this ID to identify the type of exception being thrown.

Enumerator:
DL_IO_EXCEPTION 
DL_FILE_NOT_FOUND_EXCEPTION 
DL_NOT_IMPLEMENTED_EXCEPTION  some functionality is not yet implemented; for example, a function stub which is incomplete
DL_UNKNOWN_FILE_FORMAT_EXCEPTION 
DL_NULL_POINTER_EXCEPTION  a pointer to be dereferenced turns out to be NULL
DL_UNKNOWN_OBJECT_EXCEPTION 
DL_WRONG_FORMAT_EXCEPTION 
DL_NOT_SUPPORTED_IMAGE_EXCEPTION 
DL_OUT_IMAGE_BOUNDARY_EXCEPTION 
DL_OUT_CHANNEL_NUMBER_EXCEPTION 
DL_NOT_SUPPORTED_EXCEPTION 
DL_UNKNOWN_TAG_EXCEPTION 
DL_MEMORY_EXCEPTION 
DL_PARAMETERS_EXCEPTION 
DL_INVALID_PAGE_NUMBER 
DL_DEPRECATED_EXCEPTION  a DOCLIB function has been deprecated and will be removed in a future release
DL_INDEX_OUT_OF_BOUND 

Definition at line 16 of file DLException.h.


DOCLIB is being developed under contract by a collaboration between:
The Laboratory for Language and Media Processing
Unviersity of Maryland, College Park
and
Booz | Allen | Hamilton

All Rights Reserved, 2003-2007