Bonjour,

Question très simple : Est-il possible de forcer à faire un try/catch sur tel et tels exceptions lorsqu'on appelle une méthode (comme en java) ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
void F() : GeneralException
{
 //...
}
void Main()
{
 try
 {
    F()
 }
 catch(GeneralException){}
}