I created my own exception class:
public class ApplicationException extends Exception
{
public ApplicationException()
{
super();
}
public ApplicationException(String message)
{
super(message);
}
}
This warning is shown: “The serializable class ApplicationException does not declare a static final serialVersionUID field of type long”. How can I fix this?
Simply define a variable named
serialVersionUIDwith a typelong