Class SoException
Default exception for SuperOffice NetServer.
Inheritance
SoException
Inherited Members
Namespace: SuperOffice.Exceptions
Assembly: SoCore.dll
Syntax
public class SoException : Exception, ISerializable, _Exception
Remarks
Other SuperOffice NetServer exceptions inherit from this exception class.
This exception also supports the SoLogger
mechanism using the
Constructors
SoException(SerializationInfo, StreamingContext)
Declaration
protected SoException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
SoException(String)
Default constructor.
Declaration
public SoException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | Error message |
SoException(String, Exception)
Default constructor.
Declaration
public SoException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | Error message. |
Exception | innerException | Inner exception. |
SoException(String, Exception, Exception[])
Constructor supporting an array of additional exceptions.
Declaration
public SoException(string message, Exception innerException, Exception[] cleanupExceptions)
Parameters
Type | Name | Description |
---|---|---|
String | message | Error message. |
Exception | innerException | Inner exception. |
Exception[] | cleanupExceptions | Additional exceptions in an array. |
SoException(String, Exception, String)
Declaration
public SoException(string message, Exception innerException, string friendlyText)
Parameters
Type | Name | Description |
---|---|---|
String | message | |
Exception | innerException | |
String | friendlyText |
Properties
FriendlyText
Optional friendly error message that may be displayed to the user
Declaration
public string FriendlyText { get; set; }
Property Value
Type | Description |
---|---|
String |
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)