I have this code - 

```
try {
     doSomething();
} catch (Exception e) {
   e.printStackTrace();
}

```

How will this actually be implemented by the compiler. Where is the check for the exception actually put in the assembly code generated?

**Update**  

I know that how the above code is translated to *bytecode*. The bytecode only translates the try-catch to corresponding try-handler blocks. I am interested in how it will be translated to assembly/and or handled by the jvm.