ScrapeException Constructor (String, String, Exception) |
Initializes a new instance of the
ScrapeException class with a specified error message, the HTML in question and a reference to the inner exception that is the cause of this exception.
Namespace:
NScrape
Assembly:
NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax public ScrapeException(
string message,
string html,
Exception innerException
)
Public Sub New (
message As String,
html As String,
innerException As Exception
)
public:
ScrapeException(
String^ message,
String^ html,
Exception^ innerException
)
new :
message : string *
html : string *
innerException : Exception -> ScrapeException
Parameters
- message
- Type: SystemString
The error message that explains the reason for the exception. - html
- Type: SystemString
Contains the HTML text that could not be scraped. - innerException
- Type: SystemException
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
See Also