Class ERCException
Custom exception handler.
Inheritance
System.Object
System.Exception
ERCException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: ERC
Assembly: ERC.Net.dll
Syntax
[Serializable]
public class ERCException : Exception, ISerializable, _Exception
Constructors
ERCException(SerializationInfo, StreamingContext)
Creates a serializable exception.
Declaration
protected ERCException(SerializationInfo info, StreamingContext ctxt)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | Stores all the data needed to serialize or deserialize an object. |
System.Runtime.Serialization.StreamingContext | ctxt | Describes the source and destination of a given serialized stream, and provides an additional caller-defined context. |
ERCException(String)
Constructor for the ERCException class.
Declaration
public ERCException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message associated with the Exception |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception