Table of Contents

Class LFileNotFoundException

Namespace
Loehnert.Lisrt.Messaging.Exceptions
Assembly
Loehnert.Lisrt.dll

A localizable FileNotFoundException.

[Serializable]
[Export(typeof(ITranslatableException))]
public class LFileNotFoundException : FileNotFoundException, ISerializable, _Exception, ITranslatableException, ITranslatableText, IHasMessageNumber
Inheritance
LFileNotFoundException
Implements
Inherited Members
Extension Methods

Constructors

LFileNotFoundException()

Initializes a new instance of the LFileNotFoundException class.

public LFileNotFoundException()

LFileNotFoundException(FileNotFoundException)

Initializes a new instance of the LFileNotFoundException class.

public LFileNotFoundException(FileNotFoundException ex)

Parameters

ex FileNotFoundException

The FileNotFoundException instance.

LFileNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the LFileNotFoundException class with the specified serialization and context information.

protected LFileNotFoundException(SerializationInfo serializationInfo, StreamingContext streamingContext)

Parameters

serializationInfo SerializationInfo

An object that holds the serialized object data about the exception being thrown.

streamingContext StreamingContext

An object that contains contextual information about the source or destination.

Properties

Message

Gets the localized exception message.

public override string Message { get; }

Property Value

string

MessageNumber

Gets the defined MessageNumber. Equal with a ID.

public int MessageNumber { get; }

Property Value

int

Methods

Translate(CultureInfo)

Translates the Message.

public string Translate(CultureInfo culture)

Parameters

culture CultureInfo

Culture for the returning message.

Returns

string

Translated Message.