iso::serialize::SerializeException Class Reference

class for handling all serialization related run time errors More...

#include <iso_serialize_exception.h>

List of all members.

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


Detailed Description

class for handling all serialization related run time errors

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.


Constructor & Destructor Documentation

SerializeException::SerializeException ( base::String  pType,
base::String  pMessage,
base::String  pSourceFile,
base::String  pFunction,
int  pLineNumber 
)

parameter based contstructor

Parameters:
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
Constructor for specific exception types

SerializeException::SerializeException ( base::String  pMessage,
base::String  pSourceFile,
base::String  pFunction,
int  pLineNumber 
)

parameter based contstructor

Parameters:
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
Constructor for generic exception types

SerializeException::~SerializeException (  ) 

destructor

SerializeException::SerializeException (  )  [protected]

default constructur


Member Function Documentation

void SerializeException::initExceptionTypes (  )  [static, protected]

initialize exception types


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  pOstream,
const SerializeException pException 
) [friend]

print exception information


Member Data Documentation

bool SerializeException::sExceptionTypesInitialized [static, protected]

reflects whether exception types have been initialized


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:07:19 2011 for iso_serialize by  doxygen 1.5.1