here simple program.
1. public class Excep16 {
public static void main(String[] args) {
try{
for(int cnt = 0; cnt < 5; cnt++){
if(cnt == 5) throw new MyException("number is...