优化更新代码,添加界面功能并整合
This commit is contained in:
28
WPFluent/Controls/NavigationView/NavigationException.cs
Normal file
28
WPFluent/Controls/NavigationView/NavigationException.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
|
||||
|
||||
namespace WPFluent.Abstractions;
|
||||
|
||||
/// <summary>
|
||||
/// Represents errors that occur during navigation.
|
||||
/// </summary>
|
||||
public sealed class NavigationException : Exception
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="NavigationException"/> class with a specified error message.
|
||||
/// </summary>
|
||||
/// <param name="message">The message that describes the error.</param>
|
||||
public NavigationException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="NavigationException"/> class with a specified error message and a
|
||||
/// reference to the inner exception that is the cause of this exception.
|
||||
/// </summary>
|
||||
/// <param name="e">The exception that is the cause of the current exception.</param>
|
||||
/// <param name="message">The message that describes the error.</param>
|
||||
public NavigationException(Exception e, string message) : base(message, e)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user