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
    object
    Exception
    LanguagePlatformException
    Implements
    ISerializable
    _Exception
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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

    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

    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.

    Exception e

    The underlying system exception.

    Properties

    Description

    Gets the fault description.

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

    Implements

    ISerializable
    _Exception
    In this article
    • 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