package de.thedevstack.conversationsplus.xmpp.exceptions; import de.thedevstack.conversationsplus.xml.Element; /** * Created by steckbrief on 22.08.2016. */ public class IqPacketErrorException extends XmppException { private final String iqErrorText; public IqPacketErrorException(Element context, String errorMessage) { super(context); this.iqErrorText = errorMessage; } @Override public String getMessage() { return this.iqErrorText + " in context: " + this.getContext(); } }