mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
Fix exception throw (#28104)
* fix exception throw * fix settings crash * throw runtime_error
This commit is contained in:
committed by
GitHub
parent
83143169c6
commit
738072f508
@@ -233,7 +233,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw;
|
||||
throw std::runtime_error("Invalid Opacity value");
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
@@ -270,7 +270,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw;
|
||||
throw std::runtime_error("Invalid Radius value");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -289,7 +289,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw;
|
||||
throw std::runtime_error("Invalid Thickness value");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -327,7 +327,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw;
|
||||
throw std::runtime_error("Invalid Border Color value");
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
@@ -366,7 +366,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw;
|
||||
throw std::runtime_error("Invalid Fixed Length value");
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
|
||||
Reference in New Issue
Block a user