/*
 *******************************************************************************
 * $RCSfile: Error.hpp,v $
 *
 * Description: 
 *
 * Last change: $Date: 2005/11/09 16:02:52 $ $Revision: 1.6 $
 *
 * Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use of this 
 * product is subject to license terms. 
 *
 *******************************************************************************
 * Source Code Control System - Header
 *
 * $Header: /sgnome/cvsroots/misc/legacy/source/plugins/mime/Error.hpp,v 1.6 2005/11/09 16:02:52 cm122549 Exp $
 *******************************************************************************
 */
#ifndef Error_hpp
#define Error_hpp

#include <iostream>

namespace apoc { namespace legacy { namespace plugins { namespace mimeplugin {
    class Error {
    public:
	Error( const std::string& aFileName, const std::string& aMsg );
	Error( const std::string& aFileName, const std::string& aMsg, 
	       int aLine, int aColumn );
	void report(void) const ;
	
    private:
	std::string mFileName;
	std::string mMsg;
	int mLine;
	int mColumn;
    };
}}}} // apoc.legacy.plugins.mimeplugin
#endif
