Coming from C#, I just don\'t get this \'throws exception\' that is written after a class/method definition:
public void Test() throws Exception
You have to write it in the case that the exceptions thrown are checked exceptions, which mean that it is the explicit responsibility of the caller to catch or rethrow the exception.