C# Class Headless.InvalidHtmlElementException

Inheritance: System.Exception
Show file Open project: roryprimrose/Headless

Public Methods

Method Description
InvalidHtmlElementException ( ) : System

Initializes a new instance of the InvalidHtmlElementException class.

InvalidHtmlElementException ( IXPathNavigable node, ReadOnlyCollection supportedTags ) : System

Initializes a new instance of the InvalidHtmlElementException class.

InvalidHtmlElementException ( string message ) : System

Initializes a new instance of the InvalidHtmlElementException class.

InvalidHtmlElementException ( string message, Exception inner ) : System

Initializes a new instance of the InvalidHtmlElementException class.

Protected Methods

Method Description
InvalidHtmlElementException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the InvalidHtmlElementException class.

Private Methods

Method Description
BuildSupportedTagsMessage ( IXPathNavigable node, IEnumerable tags ) : string

Builds the supported tags message.

Method Details

InvalidHtmlElementException() public method

Initializes a new instance of the InvalidHtmlElementException class.
public InvalidHtmlElementException ( ) : System
return System

InvalidHtmlElementException() public method

Initializes a new instance of the InvalidHtmlElementException class.
public InvalidHtmlElementException ( IXPathNavigable node, ReadOnlyCollection supportedTags ) : System
node IXPathNavigable /// The node. ///
supportedTags ReadOnlyCollection /// The supported tags. ///
return System

InvalidHtmlElementException() protected method

Initializes a new instance of the InvalidHtmlElementException class.
protected InvalidHtmlElementException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo /// The that holds the serialized object /// data about the exception being thrown. ///
context System.Runtime.Serialization.StreamingContext /// The that contains contextual /// information about the source or destination. ///
return System

InvalidHtmlElementException() public method

Initializes a new instance of the InvalidHtmlElementException class.
public InvalidHtmlElementException ( string message ) : System
message string /// The message that describes the error. ///
return System

InvalidHtmlElementException() public method

Initializes a new instance of the InvalidHtmlElementException class.
public InvalidHtmlElementException ( string message, Exception inner ) : System
message string /// The message. ///
inner System.Exception /// The inner. ///
return System