diff --git a/smack-core/src/main/java/org/jivesoftware/smack/packet/XMPPError.java b/smack-core/src/main/java/org/jivesoftware/smack/packet/XMPPError.java index 15b235c12..1400f06fc 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/packet/XMPPError.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/packet/XMPPError.java @@ -269,7 +269,7 @@ public class XMPPError extends AbstractError { try { condition = Condition.valueOf(string); } catch (Exception e) { - throw new IllegalStateException("Could not transform string '" + string + "' to XMPPErrorConditoin", e); + throw new IllegalStateException("Could not transform string '" + string + "' to XMPPErrorCondition", e); } return condition; }