aboutsummaryrefslogtreecommitdiff
path: root/src/xmlexception.cpp
blob: 7012ee6572167ebe1d3de4644f5c71137965e60c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "xmlexception.h"
#include <stdarg.h>

XmlException::XmlException( const char *lpFormat, ... ) throw() :
	Exception( 0 )
{
	va_list ap;

	va_start(ap, lpFormat);
	setWhat( lpFormat, ap );
	va_end(ap);
}

XmlException::XmlException( int nCode, const char *lpFormat, ... ) throw() :
	Exception( nCode )
{
	va_list ap;

	va_start(ap, lpFormat);
	setWhat( lpFormat, ap );
	va_end(ap);
}

XmlException::XmlException( int nCode ) throw() :
	Exception( nCode )
{
}