Show / Hide Table of Contents

Class SoExceptionInfo

Representation of a serialized exception that can be communicatyed over Wcf

Inheritance
Object
SoExceptionInfo
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.Exceptions
Assembly: SoCore.dll
Syntax
public class SoExceptionInfo
Remarks

Use ExceptionHelper to work with the SoException Class

Constructors

SoExceptionInfo()

Default Constructor.

Declaration
public SoExceptionInfo()

Properties

ExceptionType

Type of Exception.

Declaration
public string ExceptionType { get; set; }
Property Value
Type Description
String

FriendlyText

Friendly name.

Declaration
public string FriendlyText { get; set; }
Property Value
Type Description
String

InnerException

Inner Exception.

Declaration
public SoExceptionInfo InnerException { get; set; }
Property Value
Type Description
SoExceptionInfo

Message

The message that describes the error.

Declaration
public string Message { get; set; }
Property Value
Type Description
String

Parameters

Additional parameters relevant to describe the exception.

Declaration
public SoExceptionInfoParameters Parameters { get; set; }
Property Value
Type Description
SoExceptionInfoParameters

Source

The name of the application or the object that causes the error.

Declaration
public string Source { get; set; }
Property Value
Type Description
String

StackTrace

A string that describes the contents of the call stack, with the most recent method call appearing first.

Declaration
public string StackTrace { get; set; }
Property Value
Type Description
String

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ExceptionHelper.GetInnermostException(SoExceptionInfo)
ExceptionHelper.TryGetRealType(SoExceptionInfo, out Type)
ExceptionHelper.ToString(SoExceptionInfo, String, Boolean)
ExceptionHelper.Enumerate(SoExceptionInfo)
ExceptionHelper.GetFriendlyText(SoExceptionInfo)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top