I am taking an incredibly difficult java programming class. I have to do exception handling. In the code below I need to make a new method to do the exception handling thing to make sure x2, x1. y1. and y2 are all ints. How would I make this? Its supposed to use try/ catch

public static void main(String[] args) {
public static double areaCircle (int x1, int x2, int y1, int y2) {
double radius, Area;
double dx = x2 - x1;
double dy = y2 - y1;
double dsquared = dx*dx + dy*dy;
radius = Math.sqrt (dsquared);
Area= calculateArea (radius);
return (Area);
public static double areaCircle (){
int x1, y1, x2, y2, radius;
Scanner reader = new Scanner (System.in);
System.out.println("What is x1?");
x1= reader.nextInt();
System.out.println("What is x2?");
x2= reader.nextInt();
System.out.println("What is y1?");
y1= reader.nextInt();
System.out.println("What is y2?");
y2= reader.nextInt();
public static double calculateArea (double radius){
double Area;
return (Area);