1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 18:29:45 +02:00

Make SmackException abstract

This commit is contained in:
Florian Schmaus 2019-02-10 21:53:31 +01:00
parent 7e76712c46
commit 394f3d133a
3 changed files with 8 additions and 8 deletions

View file

@ -29,12 +29,12 @@ import org.jxmpp.jid.Jid;
*
* @author Florian Schmaus
*/
public class SmackException extends Exception {
public abstract class SmackException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1844674365368214457L;
private static final long serialVersionUID = 1844674365368214458L;
/**
* Creates a new SmackException with the Throwable that was the root cause of the exception.
@ -49,7 +49,7 @@ public class SmackException extends Exception {
super(message);
}
public SmackException(String message, Throwable wrappedThrowable) {
protected SmackException(String message, Throwable wrappedThrowable) {
super(message, wrappedThrowable);
}