I have a public class that extends Exception. It is my custom Exception class that looks like this:
package com.yahoo.chris511026.paragraphcount;
public class InputException extends Exception {
public String getMessage() {
return "Error: No text entered.";
}
}
Underneath InputException is a yellow line indicating that the class InputException does not declare a static final version UID field of type long. Why is it saying this if my class doesn't implement the Serialiazble interface? What do I do to clear resolve this issue. I don't want to have to modify or add anything to my code.