1
0
mirror of https://github.com/Halofreak1990/XFXFramework synced 2024-12-26 13:49:34 +01:00
XFXFramework/include/System/Xml/Xsl/XsltException.h
Halofreak1990 c4a46bae5d Almost fixed the List template (moved all code into the header as per the template implementation requirements)
Added Exceptions to the System.Xml library
Added missing DisplayModeCollection class
Added Stack class (will be tested soon, and removed again if it doesn't work)

* This revision's libXFX doesn't build. This is due to the List template not handling pointers to abstract classes the way I'd like it to do. Need to look into.
2011-03-07 19:14:57 +00:00

37 lines
1.1 KiB
C++

/********************************************************
* XsltException.h *
* *
* XFX XsltException definition file *
* Copyright © XFX Team. All Rights Reserved *
********************************************************/
#ifndef _SYSTEM_XML_XSLTEXCEPTION_
#define _SYSTEM_XML_XSLTEXCEPTION_
#include <System/Exception.h>
namespace System
{
namespace Xml
{
namespace Xsl
{
/// <summary>
/// The exception that is thrown when an error occurs while processing an XSLT transformation.
/// </summary>
class XsltException : public SystemException
{
public:
int LineNumber(); // Gets the line number indicating where the error occurred in the style sheet.
int LinePosition(); // Gets the line position indicating where the error occurred in the style sheet.
const char* SourceUri(); // Gets the location path of the style sheet.
XsltException();
XsltException(char *message);
XsltException(char *message, Exception* innerException);
};
}
}
}
#endif //_SYSTEM_XML_XSLTEXCEPTION_