Class BindingException
Definition
Namespace: StardewUI.Framework.Binding
Assembly: StardewUI.dll
The exception that is thrown when an unrecoverable error happens during data binding for a view.
Inheritance
Object ⇦ Exception ⇦ BindingException
Members
Constructors
Name | Description |
---|---|
BindingException() | Initializes a new instance of the BindingException class. |
BindingException(string) | Initializes a new instance of the BindingException class with a specified error message. |
BindingException(string, SNode) | Initializes a new instance of the BindingException class with a specified error message and a reference to the failed node. |
BindingException(string, Exception) | Initializes a new instance of the BindingException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
BindingException(string, SNode, Exception) | Initializes a new instance of the BindingException class with a specified error message and references to the failed node and inner exception that are 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) |
Node | The specific node that failed to bind, if known. |
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
BindingException()
Initializes a new instance of the BindingException class.
BindingException(string)
Initializes a new instance of the BindingException class with a specified error message.
Parameters
message
string
The message that describes the error.
BindingException(string, SNode)
Initializes a new instance of the BindingException class with a specified error message and a reference to the failed node.
Parameters
message
string
The message that describes the error.
node
SNode
The specific node that failed to bind.
BindingException(string, Exception)
Initializes a new instance of the BindingException 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.
BindingException(string, SNode, Exception)
Initializes a new instance of the BindingException class with a specified error message and references to the failed node and inner exception that are the cause of this exception.
public BindingException(string message, StardewUI.Framework.Dom.SNode node, System.Exception innerException);
Parameters
message
string
The error message that explains the reason for the exception.
node
SNode
The specific node that failed to bind.
innerException
Exception
The exception that is the cause of the current exception, or null
if not specified.
Properties
Node
The specific node that failed to bind, if known.