class NecelociselnyPodil extends Exception { int n; int d; NecelociselnyPodil(int i, int j) { n = i; d = j; } public String toString() { return "Podil " + n + " / " + d + " neni celociselny "; } } class UzivVyjimka { public static void main(String args[]) { int citatel[] = { 4, 8, 15, 32, 64, 127, 256, 512 }; int jmenovatel[] = { 2, 0, 4, 4, 0, 8 }; for(int i=0; i