mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +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
@@ -238,7 +238,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw;
|
||||
throw std::runtime_error("Invalid Opacity value");
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
@@ -314,7 +314,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw;
|
||||
throw std::runtime_error("Invalid Radius value");
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
@@ -332,7 +332,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw;
|
||||
throw std::runtime_error("Invalid Fade Delay value");
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
@@ -350,7 +350,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
throw;
|
||||
throw std::runtime_error("Invalid Fade Duration value");
|
||||
}
|
||||
}
|
||||
catch (...)
|
||||
|
||||
Reference in New Issue
Block a user