27 #ifndef GENFW_FIRMWAREUPDATEEXCEPTIONS_H 28 #define GENFW_FIRMWAREUPDATEEXCEPTIONS_H 37 #define GENFW_DECLARE_EXCEPTION( name ) \ 38 class GENFW_DECL name : public GENICAM_NAMESPACE::GenericException \ 41 name( const char* pDescription, const char *pSourceFileName, int SourceLine ); \ 42 name( const char* pDescription, const char *pSourceFileName, int SourceLine, const char* pExceptionType ); \ 43 name( const char* pDescription, const char *pSourceFileName, int SourceLine, const char *pEntryPoint, const char *pErrorNodeName, const char* pExceptionType ); \ 63 # define GENFW_FILE_NOT_FOUND_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::FileNotFoundException>(__FILE__, __LINE__).Report 66 # define GENFW_FILE_IO_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::FileIOException>(__FILE__, __LINE__).Report 69 # define GENFW_FORMAT_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::FormatException>(__FILE__, __LINE__).Report 71 #endif // GENFW_FIRMWAREUPDATEEXCEPTIONS_H Defines to be used for FirmwareUpdate library.
helpers for pragma linkage
GENFW_DECLARE_EXCEPTION(FileNotFoundException)
Exception fired if a file is not found.
Forward declarations for GenICam types.