Description...
Exemple...
Voir aussi...
Traduction...
Procedure Habilitation EnvoyerExceptionAToutesLesTaches(E : Nul Ou Exception, P1 : Nul Ou Caractere=Nul, P2 : Nul Ou Caractere=Nul, P3 : Nul Ou Caractere=Nul, P4 : Nul Ou Caractere=Nul, P5 : Nul Ou Caractere=Nul);
La procédure EnvoyerExceptionAToutesLesTaches a le même effet que la méthode Envoyer du type Exception.
Constante
NbPatientsMax=100;
Variable
NbPatients : Entier;
Exception
TropDePatients("TropDePatients", 100);
/* 'TropDePatients' est envoyée s'il y a trop de patients. Le message associe comporte un paramètre qui est le nombre maximal de patients autorises. */
Principal
Debut
...
Si NbPatients > NbPatientsMax Alors
EnvoyerExceptionAToutesLesTaches(TropDePatients, Caractere(NbPatientsMax));
Fin Si
...
Fin Principal
AllerAufgabenAusnahmeSenden | ThrowExceptionToAllTasks | 所有任务的投掷例外 | EnviarExcepcionATodasLasTareas | - | - | - | - |