submitted 1.2.0

This commit is contained in:
Guenter Obiltschnig
2006-08-29 07:10:35 +00:00
parent f476bd6b32
commit 2d4078f392
1428 changed files with 25715 additions and 12456 deletions

View File

@@ -1,7 +1,7 @@
//
// DOMException.cpp
//
// $Id: //poco/1.1.0/XML/src/DOMException.cpp#2 $
// $Id: //poco/1.2/XML/src/DOMException.cpp#1 $
//
// Library: XML
// Package: DOM
@@ -34,11 +34,12 @@
//
#include "DOM/DOMException.h"
#include "Poco/DOM/DOMException.h"
#include <typeinfo>
XML_BEGIN
namespace Poco {
namespace XML {
const std::string DOMException::MESSAGES[_NUMBER_OF_MESSAGES] =
@@ -104,12 +105,18 @@ const char* DOMException::className() const throw()
}
Foundation::Exception* DOMException::clone() const
Poco::Exception* DOMException::clone() const
{
return new DOMException(*this);
}
void DOMException::rethrow() const
{
throw *this;
}
const std::string& DOMException::message(unsigned short code)
{
if (code >= 1 && code < _NUMBER_OF_MESSAGES)
@@ -119,4 +126,4 @@ const std::string& DOMException::message(unsigned short code)
}
XML_END
} } // namespace Poco::XML