#include <iso_serialize_exception.h>
Public Member Functions | |
SerializeException (base::String pType, base::String pMessage, base::String pSourceFile, base::String pFunction, int pLineNumber) | |
parameter based contstructor | |
SerializeException (base::String pMessage, base::String pSourceFile, base::String pFunction, int pLineNumber) | |
parameter based contstructor | |
~SerializeException () | |
destructor | |
Protected Member Functions | |
SerializeException () | |
default constructur | |
Static Protected Member Functions | |
static void | initExceptionTypes () |
initialize exception types | |
Static Protected Attributes | |
static bool | sExceptionTypesInitialized |
reflects whether exception types have been initialized | |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const SerializeException &pException) |
print exception information |
handling all serialization related run time errors
Defines a variety of run time errors, which are specific to the config classes: ERR_NOT_SERIALIZABLE : Object Cannot Be Serialized ERR_SERIALIZE_UNKNOWN_PARAMETER : Failed to Retreive Parameter, Unknown Serialization Parameter ERR_SERIALIZE_DUPLICATE_PARAMETER : Failed to Store Parameter, Duplicate Serialization Parameter ERR_SERIALIZE_UNKNOWN_CLASSNAME : Unknown ClassName for Serializable Object ERR_SERIALIZE_UNKNOWN_NAME : Unknown Name for Serializable Object ERR_SERIALIZE_DUPLICATE_CLASSNAME : Duplicate ClassName for Serializable Object ERR_SERIALIZE_FILESUFFIX : Failed to Store File Path, Duplicate File Suffix ERR_SERIALIZE_PARSE_FILE : Error Parsing Serialization File ERR_SERIALIZE : Serialization Error ERR_DESERIALIZE : Deserialization Error
Created by Daniel Bisig on 5/17/06. Copyright 2006 Daniel Bisig All rights reserved.
SerializeException::SerializeException | ( | base::String | pType, | |
base::String | pMessage, | |||
base::String | pSourceFile, | |||
base::String | pFunction, | |||
int | pLineNumber | |||
) |
parameter based contstructor
pType | type of exception | |
pMessage | addition text describing exception | |
pSourceFile | source code file name in which exception occurred | |
pFunction | function name in which exception occurred | |
pLineNumber | line number within source file at which exception occurred |
SerializeException::SerializeException | ( | base::String | pMessage, | |
base::String | pSourceFile, | |||
base::String | pFunction, | |||
int | pLineNumber | |||
) |
parameter based contstructor
pMessage | addition text describing exception | |
pSourceFile | source code file name in which exception occurred | |
pFunction | function name in which exception occurred | |
pLineNumber | line number within source file at which exception occurred |
SerializeException::~SerializeException | ( | ) |
destructor
SerializeException::SerializeException | ( | ) | [protected] |
default constructur
void SerializeException::initExceptionTypes | ( | ) | [static, protected] |
initialize exception types
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const SerializeException & | pException | |||
) | [friend] |
print exception information
bool SerializeException::sExceptionTypesInitialized [static, protected] |
reflects whether exception types have been initialized