Constructor SAXException
SAXException()
Create a new SAXException.
Declaration
public SAXException()
SAXException(String)
Create a new SAXException.
Declaration
public SAXException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error or warning message. |
SAXException(Exception)
Create a new SAXException wrapping an existing exception.
Declaration
public SAXException(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | The exception to be wrapped in a SAXException. |
Remarks
The existing exception will be embedded in the new one, and its message will become the default message for the SAXException.
SAXException(String, Exception)
Create a new SAXException from an existing exception.
Declaration
public SAXException(string message, Exception e)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The detail message. |
Exception | e | The exception to be wrapped in a SAXException. |
Remarks
The existing exception will be embedded in the new one, but the new exception will have its own message.