EXCEPTION HANDLING Write a Java program to create a method that takes a string as input and throws an exception if the string does not contain vowels
EXCEPTION HANDLING Write a Java program that throws an exception and catch it using a try-catch block.
EXCEPTION HANDLING Write a Java program to create a method that takes an integer as a parameter and throws an exception if the number is odd.
EXCEPTION HANDLING . Write a Java program that reads a file and throws an exception if the file is empty.