class throwseg1 { void show() throws Exception { throw new Exception(\"my.own.Exception\"); } void show2() throws Exception // Why throws i
Basically, if you are not handling the exception in the same place as you are throwing it, then you can use "throws exception" at the definition of the function.