Search Results for

    Show / Hide Table of Contents

    Class LanguagePlatformException

    Represents an error thrown by components in the language platform which are not covered by a standard system exception. It also contains a fault description which can be transmitted through the standard WCF fault mechanism.

    Inheritance
    System.Object
    System.Exception
    LanguagePlatformException
    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: Sdl.LanguagePlatform.Core
    Assembly: Sdl.LanguagePlatform.Core.dll
    Syntax
    public class LanguagePlatformException : Exception, ISerializable, _Exception

    Constructors

    LanguagePlatformException(ErrorCode)

    Initializes a new instance with the specified error code.

    Declaration
    public LanguagePlatformException(ErrorCode code)
    Parameters
    Type Name Description
    ErrorCode code

    The error code to assign

    LanguagePlatformException(ErrorCode, FaultStatus)

    Initializes a new instance with the specified error code and fault status.

    Declaration
    public LanguagePlatformException(ErrorCode code, FaultStatus status)
    Parameters
    Type Name Description
    ErrorCode code

    The error code to assign

    FaultStatus status

    The fault status to assign

    LanguagePlatformException(ErrorCode, FaultStatus, String)

    Initializes a new instance with the specified error code, fault status, and data.

    Declaration
    public LanguagePlatformException(ErrorCode code, FaultStatus status, string data)
    Parameters
    Type Name Description
    ErrorCode code

    The error code to assign

    FaultStatus status

    The fault status to assign

    System.String data

    Additional error data (may be null)

    LanguagePlatformException(ErrorCode, String)

    Initializes a new instance with the specified error code and data.

    Declaration
    public LanguagePlatformException(ErrorCode code, string data)
    Parameters
    Type Name Description
    ErrorCode code

    The error code to assign

    System.String data

    Additional error data (may be null)

    LanguagePlatformException(FaultDescription)

    Initializes a new instance with the specified fault description.

    Declaration
    public LanguagePlatformException(FaultDescription description)
    Parameters
    Type Name Description
    FaultDescription description

    The fault description.

    LanguagePlatformException(FaultDescription, Exception)

    Initializes a new instance from a system exception and a specified fault description.

    Declaration
    public LanguagePlatformException(FaultDescription description, Exception e)
    Parameters
    Type Name Description
    FaultDescription description

    The fault description.

    System.Exception e

    The underlying system exception.

    Properties

    Description

    Gets the fault description.

    Declaration
    public FaultDescription Description { get; }
    Property Value
    Type Description
    FaultDescription

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception

    On this page

    • Constructors
      • LanguagePlatformException(ErrorCode)
      • LanguagePlatformException(ErrorCode, FaultStatus)
      • LanguagePlatformException(ErrorCode, FaultStatus, String)
      • LanguagePlatformException(ErrorCode, String)
      • LanguagePlatformException(FaultDescription)
      • LanguagePlatformException(FaultDescription, Exception)
    • Properties
      • Description
    • Implements
    Back to top Generated by DocFX