Java exception project

Job ID: 33158904

Budget: ₹600 – ₹1,500 INR

Refer employee class which I will provide.

Write a Constructor for Employee where the constructor throws "InvalidPANNoException" is the PANNo is empty.

Write your own InvalidPANNoException class that extends Exception as follows:

public class InvalidPANNoException extends Exception

{

public InvalidPANNoException(String msg)

{

super(msg);

}

}

In your main program, try to create an Employee object with empty PAN No and catch InvalidPANNoException. Display appropriate message in the catch block.

Need this to be done urgently
Response ASAP