Class UnexpectedException
This exception will be thrown when an unexpected error occurs.
Inheritance
System.Object
System.Exception
UnexpectedException
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: Juhta.Net.Common
Assembly: Juhta.Net.dll
Syntax
public class UnexpectedException : Exception, ISerializable
Remarks
An error is considered as unexpected when it occurs in a code context that doesn't contain error-prone functionality such as network communication or file I/O operations.
Constructors
| Improve this Doc View SourceUnexpectedException(String, Exception)
Initializes a new instance.
Declaration
public UnexpectedException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Specifies an error message. |
System.Exception | innerException | Specifies an inner exception that determines the actual unexpected error. |
Implements
System.Runtime.Serialization.ISerializable