mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
generalize exception handling
This commit is contained in:
parent
ff3662db43
commit
a736f41eb4
@ -138,7 +138,7 @@ public class ModuleGenerator {
|
|||||||
} else {
|
} else {
|
||||||
writer.prepareFunction( name );
|
writer.prepareFunction( name );
|
||||||
}
|
}
|
||||||
} catch( IOException ioex ) {
|
} catch( Exception ioex ) {
|
||||||
throw WasmException.create( ioex, sourceFile, -1 );
|
throw WasmException.create( ioex, sourceFile, -1 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user