Class ZedGraphException
An exception thrown by ZedGraph. A child class of ApplicationException.
Inherited Members
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public class ZedGraphException : ApplicationException, _Exception, ISerializable
Constructors
| Improve this Doc View SourceZedGraphException()
Initializes a new instance of the Exception class.
Declaration
public ZedGraphException()
ZedGraphException(SerializationInfo, StreamingContext)
Initializes a new instance of the ZedGraphException class with serialized data.
Declaration
protected ZedGraphException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo instance that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext instance that contains contextual information about the source or destination. |
ZedGraphException(String)
Initializes a new instance of the Exception class with a specified error message.
Declaration
public ZedGraphException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
ZedGraphException(String, Exception)
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public ZedGraphException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |