RaptorXMLException
Generates an exception that contains information about an error that occurs during processing. The message parameter provides information about the error.
COM and .NET
RaptorXMLException is not available in the COM API or .NET API.
Use the COMException class instead. You could also use SystemException (of which COMException is an extension).
So, for example:
static void Main(string[] args)
{
try
{
Init();
ValidateXML();
RunXSLT();
RunXQuery();
}
catch (System.Exception ex)
{
Console.WriteLine("Exception thrown!");
[...]
Java
Signature: public void RaptorXMLException(string message)