MercurialExecutionException Class

Summary

Represents errors related to Mercurial.
graph TD Base0["MercurialException"]-->Type click Base0 "/Cake.Hg/api/Mercurial/MercurialException" Base1["Exception"]-->Base0 Base2["object"]-->Base1 Interface0["ISerializable"]-.->Type Interface1["_Exception"]-.->Type Type["MercurialExecutionException"] class Type type-node Type-->Derived0["UnresolvedFilesAfterUnbundleMercurialExecutionException"] click Derived0 "/Cake.Hg/api/Mercurial/UnresolvedFilesAfterUnbundleMercurialExecutionException" Type-->Derived1["MercurialResultParsingException"] click Derived1 "/Cake.Hg/api/Mercurial/MercurialResultParsingException" Type-->Derived2["NoChangesFoundMercurialExecutionException"] click Derived2 "/Cake.Hg/api/Mercurial/NoChangesFoundMercurialExecutionException"

Syntax

public class MercurialExecutionException : MercurialException, ISerializable, _Exception

Constructors

Name Summary
MercurialExecutionException() Initializes a new instance of the MercurialExecutionException class.
MercurialExecutionException(int, string) Initializes a new instance of the MercurialExecutionException class with a specific error message.
MercurialExecutionException(int, string, Exception) Initializes a new instance of the MercurialExecutionException class s with a specified error message and a reference to the inner exception that is the cause of this exception.
MercurialExecutionException(SerializationInfo, StreamingContext) Initializes a new instance of the MercurialExecutionException class.
MercurialExecutionException(string) Initializes a new instance of the MercurialExecutionException class with a specific error message.
MercurialExecutionException(string, Exception) Initializes a new instance of the MercurialExecutionException class s with a specified error message and a reference to the inner exception that is the cause of this exception.

Properties

Name Value Summary
ExitCode int
Gets the exit code of the process that was executed and failed.

Methods

Name Value Summary
GetObjectData(SerializationInfo, StreamingContext) void
When overridden in a derived class, sets the SerializationInfo with information about the exception.