Table of Contents

Class TemplateKeyNotFoundException

Namespace
Tlumach.Templating
Assembly
Tlumach.dll

Thrown by TemplateTranslator for a key that no translation contains, when MissingKey is Throw.

public class TemplateKeyNotFoundException : TlumachException, ISerializable
Inheritance
TemplateKeyNotFoundException
Implements
Inherited Members

Constructors

TemplateKeyNotFoundException()

Initializes a new instance of the TemplateKeyNotFoundException class.

public TemplateKeyNotFoundException()

TemplateKeyNotFoundException(string)

Initializes a new instance of the TemplateKeyNotFoundException class with the given message.

public TemplateKeyNotFoundException(string message)

Parameters

message string

The message that describes the error.

TemplateKeyNotFoundException(string, Exception)

Initializes a new instance of the TemplateKeyNotFoundException class with the given message and the exception that caused this one.

public TemplateKeyNotFoundException(string message, Exception innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that is the cause of this exception.

TemplateKeyNotFoundException(string, CultureInfo)

Initializes a new instance of the TemplateKeyNotFoundException class for a missing key.

public TemplateKeyNotFoundException(string key, CultureInfo culture)

Parameters

key string

The full key, with the key prefix.

culture CultureInfo

The culture of the call.

Properties

Culture

Gets the culture of the call.

public CultureInfo? Culture { get; }

Property Value

CultureInfo

Key

Gets the full key, with the key prefix.

public string? Key { get; }

Property Value

string