public class GIS { public GIS() { Point point = new Point(); try { point.setX(100.0); } catch (OutOfRangeException oore) { oore.print(); } try { point.setX(101.0); } catch (OutOfRangeException oore) { oore.print(); } } public static void main (String args[]) { new GIS(); } }