Se ho
codice:
Exception ex=exc;
System.out.println(ex.getMessage());
nell'ipotesi che exc, sia una qualsiasi exception (unchecked o checked), che si verifica magari in seguito a un errore. Il metodo getMessage() restituisce lo stesso messaggio anche senza cast?