OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions | Variables
ErrorHandling.cpp File Reference
#include "ErrorHandling.hpp"
#include "CPStringUtils.hpp"

Go to the source code of this file.

Functions

void SetErrorMessage (const char *theErrorMessage)
 
void SetErrorMessageAndAppendLongInt (const char *theErrorMessage, const long theLongInt)
 
void SetErrorMessageAndCStrAndLongInt (const char *theErrorMessage, const char *theCStr, const long theLongInt)
 
void SetErrorMessageAndCStr (const char *theErrorMessage, const char *theCStr)
 
void AppendCStrToErrorMessage (const char *theErrorMessage)
 
void AppendLongIntToErrorMessage (const long theLongInt)
 
char * GetErrorMessage (void)
 
OSErr GetErrorMessageInNewHandle (Handle *inoutHandle)
 
OSErr GetErrorMessageInExistingHandle (Handle inoutHandle)
 
OSErr AppendErrorMessageToHandle (Handle inoutHandle)
 

Variables

char * gErrorMessage = gErrorMessageBuffer
 
int gErrorMessageMaxLength = sizeof(gErrorMessageBuffer)
 

Function Documentation

void AppendCStrToErrorMessage ( const char *  theErrorMessage)

Definition at line 107 of file ErrorHandling.cpp.

OSErr AppendErrorMessageToHandle ( Handle  inoutHandle)

Definition at line 152 of file ErrorHandling.cpp.

void AppendLongIntToErrorMessage ( const long  theLongInt)

Definition at line 116 of file ErrorHandling.cpp.

char* GetErrorMessage ( void  )

Definition at line 123 of file ErrorHandling.cpp.

OSErr GetErrorMessageInExistingHandle ( Handle  inoutHandle)

Definition at line 140 of file ErrorHandling.cpp.

OSErr GetErrorMessageInNewHandle ( Handle *  inoutHandle)

Definition at line 129 of file ErrorHandling.cpp.

void SetErrorMessage ( const char *  theErrorMessage)

Definition at line 72 of file ErrorHandling.cpp.

void SetErrorMessageAndAppendLongInt ( const char *  theErrorMessage,
const long  theLongInt 
)

Definition at line 81 of file ErrorHandling.cpp.

void SetErrorMessageAndCStr ( const char *  theErrorMessage,
const char *  theCStr 
)

Definition at line 98 of file ErrorHandling.cpp.

void SetErrorMessageAndCStrAndLongInt ( const char *  theErrorMessage,
const char *  theCStr,
const long  theLongInt 
)

Definition at line 89 of file ErrorHandling.cpp.

Variable Documentation

char* gErrorMessage = gErrorMessageBuffer

Definition at line 67 of file ErrorHandling.cpp.

int gErrorMessageMaxLength = sizeof(gErrorMessageBuffer)

Definition at line 68 of file ErrorHandling.cpp.