MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Macros | Functions | Variables
lgrExceptions.h File Reference

Contains Logger exceptions. More...

Go to the source code of this file.

Namespaces

namespace  MAKLogger
 MAKLogger::DtLgrGenericFileFormats.

Macros

#define typedefLoggerException(Name, Value)
#define DtLgrTHROW(exceptionClass, errorMsg)
#define DtCATCH_AND_IGNORE   catch(...){}

Functions

 MAKLogger::typedefLoggerException (DtThreadAlreadyRunning,(ThreadExceptionBase+1)) typedefLoggerException(DtThreadNotStarted
ThreadExceptionBase MAKLogger::typedefLoggerException (DtThreadCreationError,(ThreadExceptionBase+3)) typedefLoggerException(DtThreadWouldDeadlock
 MAKLogger::typedefLoggerException (DtInvalidConfigurationFile,(LoggerConfigExceptionBase+1)) const int CommandExceptionBase
 MAKLogger::typedefLoggerException (DtInvalidLgrCommand,(CommandExceptionBase+1)) typedefLoggerException(DtUnhandledLgrCommand
CommandExceptionBase MAKLogger::typedefLoggerException (DtCorruptLgrCommand,(CommandExceptionBase+3)) const int SystemExceptionBase
 MAKLogger::typedefLoggerException (DtDriverNotAvailable,(SystemExceptionBase+1)) const int EditExceptionBase
 MAKLogger::typedefLoggerException (DtInvalidLoggerState,(EditExceptionBase+1)) const int PluginExceptionBase
 MAKLogger::typedefLoggerException (DtAbstractInterfaceUndefined,(PluginExceptionBase+1)) typedefLoggerException(DtLibraryDoesNotExist
PluginExceptionBase MAKLogger::typedefLoggerException (DtLibraryFileIsInvalid,(PluginExceptionBase+3)) const int FileExceptionBase
 MAKLogger::typedefLoggerException (DtInvalidLoggerFile,(FileExceptionBase+1)) typedefLoggerException(DtFileOpenError
FileExceptionBase MAKLogger::typedefLoggerException (DtFileReadError,(FileExceptionBase+3)) typedefLoggerException(DtFileWriteError
FileExceptionBase FileExceptionBase MAKLogger::typedefLoggerException (DtUnknownFileVersion,(FileExceptionBase+5)) typedefLoggerException(DtUnableToDeleteFile
FileExceptionBase
FileExceptionBase
FileExceptionBase 
MAKLogger::typedefLoggerException (DtUnableToMoveFile,(FileExceptionBase+7)) typedefLoggerException(DtUnableToCopyFile
FileExceptionBase
FileExceptionBase
FileExceptionBase
FileExceptionBase 
MAKLogger::typedefLoggerException (DtInvalidPacketType,(FileExceptionBase+8)) const int DataExceptionBase
 MAKLogger::typedefLoggerException (DtSerializeError,(LoggerExceptionBase+1)) typedefLoggerException(DtUnserializeError
 MAKLogger::typedefLoggerException (DtInvalidPacketOperation,(HLAExceptionBase+1)) typedefLoggerException(DtNotHLAProtocol
HLAExceptionBase MAKLogger::typedefLoggerException (DtInvalidFom,(HLAExceptionBase+3)) typedefLoggerException(DtInvalidExconn
HLAExceptionBase HLAExceptionBase MAKLogger::typedefLoggerException (DtUnableToCreatePublisher,(HLAExceptionBase+5)) typedefLoggerException(DtInvalidHandle
 MAKLogger::typedefLoggerException (DtIncorrectGuiType,(GUIExceptionBase+1)) DT_DLL_LGRUTIL DtString DtSerializeException(const DtException &exception
 Serialize Exception into a string.
DT_DLL_LGRUTIL void MAKLogger::DtSerializeException (DtString &output, const DtException &, bool fullTrace)
 Serialize an exception into the end of the provided string.

Variables

const int MAKLogger::LoggerExceptionBase = 40000
const int MAKLogger::ThreadExceptionBase = LoggerExceptionBase + 0
ThreadExceptionBase
ThreadExceptionBase const int 
MAKLogger::LoggerConfigExceptionBase = LoggerExceptionBase + 10
LoggerExceptionBase const int MAKLogger::HLAExceptionBase = LoggerExceptionBase + 100
HLAExceptionBase
HLAExceptionBase
HLAExceptionBase const int 
MAKLogger::GUIExceptionBase = LoggerExceptionBase + 120
bool MAKLogger::fullTrace = false)

Detailed Description

Contains Logger exceptions.

Macro Definition Documentation

#define DtCATCH_AND_IGNORE   catch(...){}
#define DtLgrTHROW (   exceptionClass,
  errorMsg 
)
Value:
{\
DtFilename tempLocalFile(__FILE__);\
tempLocalFile.stripPath();\
DtString msg = DtString(#exceptionClass": ") + errorMsg;\
throw exceptionClass(msg.c_str(), __DtFUNC__,tempLocalFile.c_str(), __LINE__, 0);\
}
#define typedefLoggerException (   Name,
  Value 
)
Value:
const int Name##Number = (Value);\
typedef DtTemplatedException<Name##Number> Name;

Document ID: Generated on Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (www.mak.com)