Class UIException
Definition
Namespace: StardewUI.Framework
Assembly: StardewUI.dll
Base class for all exceptions specific to StardewUI.
Inheritance
Object ⇦ Exception ⇦ UIException
Members
Constructors
Name | Description |
---|---|
UIException() | Initializes a new instance of the UIException class. |
UIException(string) | Initializes a new instance of the UIException class with a specified error message. |
UIException(string, Exception) | Initializes a new instance of the UIException 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
UIException()
Initializes a new instance of the UIException class.
UIException(string)
Initializes a new instance of the UIException class with a specified error message.
Parameters
message
string
The message that describes the error.
UIException(string, Exception)
Initializes a new instance of the UIException 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.