Class DescriptorException
Definition
Namespace: StardewUI.Framework.Descriptors
Assembly: StardewUI.dll
The exception that is thrown when an error occurs while reading or building the metadata for a bound view or one of its data sources.
Inheritance
Object ⇦ Exception ⇦ DescriptorException
Members
Constructors
Name | Description |
---|---|
DescriptorException() | Initializes a new instance of the DescriptorException class. |
DescriptorException(string) | Initializes a new instance of the DescriptorException class with a specified error message. |
DescriptorException(string, Exception) | Initializes a new instance of the DescriptorException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Properties
Name | Description |
---|---|
Data | (Inherited from Exception) |
HelpLink | (Inherited from Exception) |
HResult | (Inherited from Exception) |
InnerException | (Inherited from Exception) |
Message | (Inherited from Exception) |
Source | (Inherited from Exception) |
StackTrace | (Inherited from Exception) |
TargetSite | (Inherited from Exception) |
Methods
Name | Description |
---|---|
GetBaseException() | (Inherited from Exception) |
GetObjectData(SerializationInfo, StreamingContext) | (Inherited from Exception) |
GetType() | (Inherited from Exception) |
ToString() | (Inherited from Exception) |
Events
Name | Description |
---|---|
SerializeObjectState | (Inherited from Exception) |
Details
Constructors
DescriptorException()
Initializes a new instance of the DescriptorException class.
DescriptorException(string)
Initializes a new instance of the DescriptorException class with a specified error message.
Parameters
message
string
The message that describes the error.
DescriptorException(string, Exception)
Initializes a new instance of the DescriptorException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Parameters
message
string
The error message that explains the reason for the exception.
innerException
Exception
The exception that is the cause of the current exception, or null
if not specified.