io exception example in java
import java.io.IOException; public class Application { public static void main(String[] args) throws IOException { Application application = new Application(); application.run(); } private void run() throws IOException { Machine machine = new Machine(); machine.run(); } }.