Formatting

This commit is contained in:
Andrey Breslav
2012-04-25 12:20:27 +04:00
parent 296c16a623
commit 3eb6b3d0f5
2 changed files with 5 additions and 3 deletions
@@ -90,9 +90,10 @@ public abstract class ClassBodyCodegen {
try {
genNamedFunction((JetNamedFunction) declaration, functionCodegen);
}
catch(CompilationException e) {
catch (CompilationException e) {
throw e;
} catch (RuntimeException e) {
}
catch (RuntimeException e) {
throw new RuntimeException("Error generating method " + myClass.getName() + "." + declaration.getName() + " in " + context, e);
}
}
@@ -69,7 +69,8 @@ public class NamespaceCodegen {
else if (declaration instanceof JetNamedFunction) {
try {
functionCodegen.gen((JetNamedFunction) declaration);
} catch (CompilationException e) {
}
catch (CompilationException e) {
throw e;
}
catch (Exception e) {