ClassLocalizableException
Exception that carries a localization key and format arguments, enabling display of error messages in the user's preferred language.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Utilities
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class LocalizableException : Exception, ISerializable, _Exception
Inheritance: objectExceptionLocalizableException
Derived Classes:
Implements:
Inherited Members
Constructors
LocalizableException()
Initializes a new instance of the LocalizableException class.
Declaration
public LocalizableException()
LocalizableException(string)
Initializes a new instance of the LocalizableException class.
Declaration
public LocalizableException(string message)
Parameters
message
The message.
LocalizableException(string, Exception)
Initializes a new instance of the LocalizableException class.
LocalizableException(string, Exception, string, string[])
Initializes a new instance of the LocalizableException class.
Declaration
public LocalizableException(string message, Exception innerException, string key, string[] formatStringArguments = null)
Parameters
message
The message.
innerException
The inner exception.
key
The key.
formatStringArguments
string[]
The format string arguments.
LocalizableException(string, string, string[])
Initializes a new instance of the LocalizableException class.
Properties
FormatStringArguments
Arguments used to format the localized error message template, providing contextual values like parameter names or values.
Declaration
public string[] FormatStringArguments { get; }
Property Value
string[]
The format string arguments.
LocalizationKey
The key used to retrieve the localized error message from a resource dictionary.
Declaration
public string LocalizationKey { get; protected set; }
Property Value
The localization key.