HypernovaDesktop Components · docs
Binarymission
WPF › Skinning › BinarySkinFormatException

BinarySkinFormatException

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Skinning

A skin file that is not JSON, or is JSON that does not describe a skin. The message names the line and column of the mistake.

public class BinarySkinFormatException : FormatException

Inherits from / implements: FormatException

Members at a glance

BinarySkinFormatExceptionInitializes a new instance of the BinarySkinFormatException class.
BinarySkinFormatExceptionInitializes a new instance of the BinarySkinFormatException class with a message and no position.
BinarySkinFormatExceptionInitializes a new instance of the BinarySkinFormatException class with a message and the error that caused it.
BinarySkinFormatExceptionInitializes a new instance of the BinarySkinFormatException class with a message and the place in the file it is about.
ColumnGets the column of the mistake.
LineGets the line of the mistake.

Constructors

BinarySkinFormatException

public BinarySkinFormatException()

Initializes a new instance of the BinarySkinFormatException class.

BinarySkinFormatException

public BinarySkinFormatException(string message) : base(message)

Initializes a new instance of the BinarySkinFormatException class with a message and no position.

message
What is wrong.

BinarySkinFormatException

public BinarySkinFormatException(string message, Exception innerException) : base(message, innerException)

Initializes a new instance of the BinarySkinFormatException class with a message and the error that caused it.

message
What is wrong.
innerException
The error that caused it.

BinarySkinFormatException

public BinarySkinFormatException(string message, int line, int column) : base(string.Format(CultureInfo.InvariantCulture, "Line

Initializes a new instance of the BinarySkinFormatException class with a message and the place in the file it is about.

message
What is wrong.
line
The line, from 1.
column
The column, from 1.

Properties

Column

public int Column

Gets the column of the mistake.

Value. From 1; 0 when the message is not about one place.

Line

public int Line

Gets the line of the mistake.

Value. From 1; 0 when the message is not about one place.