how to remove the warning The serializable class ClASSNAME does not declare a static final serialVersionUID field of type long
<p>I create a classes extens <code>exception</code> class, I got this warning on Eclipse </p>

<pre><code>The serializable class PhoneAlreadyExists does not declare a static final serialVersionUID field of type long
</code></pre>

<p>how to remove it please ?</p>

<pre><code>public class PhoneAlreadyExists extends Exception {
    public PhoneAlreadyExists() {
        // TODO Auto-generated constructor stub
        super();
    }

    PhoneAlreadyExists(String message) {
        super(message);
    }
</code></pre>

<p>}</p>
