Show / Hide Table of Contents

Class CustomHandledException

Represents an exception which has been created during custom handling of an unhandled exception.

Inheritance
System.Object
System.Exception
CustomHandledException
Implements
System.Runtime.Serialization.ISerializable
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: Sartorius.SAF.ExceptionHandling
Assembly: Sartorius.SAF.dll
Syntax
[Serializable]
public class CustomHandledException : Exception, ISerializable

Constructors

View Source

CustomHandledException()

Create a new instance of CustomHandledException.

Declaration
public CustomHandledException()
View Source

CustomHandledException(SerializationInfo, StreamingContext)

Initializes a new instance of the CustomHandledException class.

Declaration
protected CustomHandledException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

System.Runtime.Serialization.StreamingContext context

The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

View Source

CustomHandledException(String)

Create a new instance of CustomHandledException.

Declaration
public CustomHandledException(string message)
Parameters
Type Name Description
System.String message

The error message that explains the reason for the exception.

View Source

CustomHandledException(String, Exception)

Initializes a new instance of the CustomHandledException class.

Declaration
public CustomHandledException(string message, Exception innerException)
Parameters
Type Name Description
System.String message

The error message that explains the reason for the exception.

System.Exception innerException

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
ExceptionExtensions.GetRootException(Exception)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX