Class ScraperException
Wraps a ScraperResult in a Exception, so that it can be thrown.
Inheritance
System.Object
System.Exception
ScraperException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Subsembly.Scraper
Assembly: Subsembly.Scraper.dll
Syntax
public class ScraperException : Exception, ISerializable
Remarks
This shall only be used internally in Scraper implementations and shall never get through to client code. The base implementations in ScraperSession catch these exceptions and return the embedded ScraperResult instead.
Constructors
ScraperException(ScraperResult)
Declaration
public ScraperException(ScraperResult aResult)
Parameters
Type | Name | Description |
---|---|---|
ScraperResult | aResult | ScraperResult to be thrown. Must not be |
Properties
Message
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
System.Exception.Message
Result
Declaration
public ScraperResult Result { get; }
Property Value
Type | Description |
---|---|
ScraperResult |
Implements
System.Runtime.Serialization.ISerializable