class Flow {
public static void main(String[] args) {
try{
System.out.println("before ");
throw new FlowException();
System.out.println("after "); //erro não se pode chegar aki.
}catch(FlowException fe){
System.out.println("catch ");
}
System.out.println("done ");
}
}
class class FlowException extends Exception {}
Não se chega até a linha comentada pq motivo? Por ser lançado uma exceção e o bloco ir até o catch?