]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.runtime/scl/Prelude.scl
(refs #7448) Added Exception effect
[simantics/platform.git] / bundles / org.simantics.scl.runtime / scl / Prelude.scl
index 818c5054307e95d5ad67bd3b211882fd9dc9befb..f0eca0eb26dc78141f4a4f204f9f46ce14948c2c 100644 (file)
@@ -2123,7 +2123,7 @@ importJava "org.simantics.scl.runtime.procedure.Procedures" where
     
     "Executes the given expression and catches certain class of exceptions (specified by the catch handler that is given as a second parameter.)"
     @JavaName catch_
-    catch :: VecComp ex => (<e> a) -> (ex -> <e> a) -> <e> a
+    catch :: VecComp ex => (<e,Exception> a) -> (ex -> <e> a) -> <e> a
 
 importJava "java.lang.Throwable" where
     data Throwable