Why do we need serialVersionUID when extending RuntimeException? Is RuntimeException a serializable class?
public class DataNotFoundException extends RuntimeException {
/**
*
*/
private static final long serialVersionUID = 1;
public DataNotFoundException(String str)
{
super(str);
}
}