in compilazione chaiamndo il metodo dal main viene
unreported exception java.io.IOException; must be caught or declared to be thrown
exec(a);

alla chaiamta del metodo exec


grazie