diff --git a/src/section/section_nub.ts b/src/section/section_nub.ts
index 476a83bfef117789cc957f4627e5b440568d157a..ad9068b19cc2d69e6dfe96a1886ebbfcd788aaf6 100644
--- a/src/section/section_nub.ts
+++ b/src/section/section_nub.ts
@@ -84,18 +84,15 @@ export class SectionParametree extends Nub {
     }
 
     public getParameter(name: string): ParamDefinition {
-        try {
-            return super.getParameter(name);
-        }
-        catch (e) {
+        let res = super.getParameter(name);
+        if (res === undefined) {
             // pas trouvé -> il s'agit peut être d'une variable dans le genre Hs, B, P, ...
-            const res = this._sectionVars[name];
+            res = this._sectionVars[name];
 
             if (!res)
                 throw new Error(`SectionParametree.getParameter() : nom de paramètre ${name} incorrect`);
-
-            return res;
         }
+        return res;
     }
 
     public getFirstAnalyticalParameter(): ParamDefinition {