Class NegativeWeightException
Exception raised when an algorithm find or computed a negative weight in a graph.
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.Message
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: QuikGraph
Assembly: QuikGraph.dll
Syntax
[Serializable]
public class NegativeWeightException : QuikGraphException, ISerializable
Constructors
| Improve this Doc View SourceNegativeWeightException()
Initializes a new instance of NegativeWeightException class.
Declaration
public NegativeWeightException()
NegativeWeightException(SerializationInfo, StreamingContext)
Constructor used during runtime serialization.
Declaration
protected NegativeWeightException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
NegativeWeightException(String, Exception)
Initializes a new instance of NegativeWeightException class.
Declaration
public NegativeWeightException(string message, Exception innerException = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | innerException |
Implements
System.Runtime.Serialization.ISerializable