Skip to content

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.

public class DescriptorException : System.Exception

Inheritance
ObjectException ⇦ 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.

public DescriptorException();

DescriptorException(string)

Initializes a new instance of the DescriptorException class with a specified error message.

public DescriptorException(string 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.

public DescriptorException(string message, System.Exception innerException);
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.