Click or drag to resize

ScrapeException Class

The exception that is thrown when a web scraping operation fails.
Inheritance Hierarchy

Namespace:  NScrape
Assembly:  NScrape (in NScrape.dll) Version: 0.4.1.0
Syntax
[SerializableAttribute]
public class ScrapeException : Exception

The ScrapeException type exposes the following members.

Constructors
  NameDescription
Public methodScrapeException
Initializes a new instance of the ScrapeException class.
Public methodScrapeException(String)
Initializes a new instance of the ScrapeException class with a specified error message.
Protected methodScrapeException(SerializationInfo, StreamingContext)
Initializes a new instance of the ScrapeException class with serialized data.
Public methodScrapeException(String, Exception)
Initializes a new instance of the ScrapeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Public methodScrapeException(String, String)
Initializes a new instance of the ScrapeException class with a specified error message and the HTML in question.
Public methodScrapeException(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.
Top
Properties
  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyHtml
Gets the HTML text that could not be scraped.
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Overrides ExceptionGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)
Top
Events
  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top
See Also