/*****************************************************************************/
/* SOURCE FILE */
/*****************************************************************************/
/*
$Archive: $
$Revision: $
$Date: $
$Author: $
Description: Implementation of the "file" exception
TOOL And XML FORMS License
==========================
Except where otherwise noted, all of the documentation
and software included in the TOOL package is
copyrighted by Michael Swartzendruber.
Copyright (C) 2005 Michael John Swartzendruber.
All rights reserved.
Access to this code, whether intentional or accidental,
does NOT IMPLY any transfer of rights.
This software is provided "as-is," without any express
or implied warranty. In no event shall the author be held
liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for
any purpose, including commercial applications, and to
alter and redistribute it, provided that the following
conditions are met:
1. All redistributions of source code files must retain
all copyright notices that are currently in place,
and this list of conditions without modification.
2. The origin of this software must not be misrepresented;
you must not claim that you wrote the original software.
3. If you use this software in another product, an acknowledgment
in the product documentation would be appreciated but is
not required.
4. Modified versions in source or binary form must be plainly
marked as such, and must not be misrepresented as being
the original software.
*/
static char OBJECT_ID[] = "$Revision: $ : $Date: $";
/*****************************************************************************/
#include "FileException.h"
/*****************************************************************************/
/*
FUNCTION NAME: CFileIOException::CFileIOException
DESCRIPTION: ctor
INPUT: pchFile - pointer to file name for exception
pchMethod - pointer to method name for exception
iLine - line number for exception
pchErrorMsg - pointer to message for exceptino
iErrorCode - error code
pchSubID - pointer to sub-info for exception
OUTPUT:
RETURNS: none
*/
CFileIOException::CFileIOException( const char* pchFile,
const char* pchMethod,
const int iLine,
const char* pchErrorMsg,
const int iErrorCode,
const char* pchSubID )
: CCommonException( GetID(),
pchFile,
pchMethod,
iLine,
pchErrorMsg,
iErrorCode,
pchSubID )
{}
/* End of function "CFileIOException::CFileIOException"
/*****************************************************************************/
/*****************************************************************************/
/*
FUNCTION NAME: CFileIOException::GetID
DESCRIPTION: returns the type of this
INPUT: void
OUTPUT: none
RETURNS: pointer to the type
*/
const char* CFileIOException::GetID( void ) const
{
static const char* pchClassID = "File I/O Exception";
return( pchClassID );
}
/* End of function "CFileIOException::GetID"
/*****************************************************************************/
/*****************************************************************************/
/* Check-in history */
/*
*$Log: $
*/
/*****************************************************************************/