- Main Page
- Namespaces
- Classes
- Files
- Related Pages

# /Users/fpy/titan-1-5-MBARI/Mers/Utils/Io/Xml/Stream/InvalidTagException.cpp

    00001
    00002 //
    00003 // Copyright (c) 2004           Model-based Embedded and Robotic Systems Group
    00004 // All Rights Reserved          Massachusetts Institute of Technology
    00005 //
    00006 // This software is provided as is. Model-based Embedded and Robotic Systems
    00007 // (MERS) group does not assume any responsibility.
    00008 //
    00009 // Organization:        Model-based Embedded and Robotic Systems Group
    00010 //                                      Massachusetts Institute of Technology
    00011 //
    00013
    00014 #include "InvalidTagException.h"
    00015
    00016 using namespace Mers::Utils::Io::Xml::Stream;
    00017 using std::string;
    00018
    00019 InvalidTagException::InvalidTagException(const XmlStreamReader* reader,
    00020                                          const string& desiredTag)
    00021   : XmlStreamException("Invalid tag. Expected: "+desiredTag+
    00022                        ", encountered: "+reader->getLocalName())
    00023 {
    00024 }