Smack/smack-core/src/main
Florian Schmaus b09cd06053 [core] Use XmppElementUtil.castOrThrow() in StanzaView.getExtension(Class)
This means that users get now exceptions with helpful error messages
instead of the dreaded ClassCastException, like

java.lang.ClassCastException: org.jivesoftware.smack.packet.StandardExtensionElement cannot be cast to org.jivesoftware.smackx.mam.element.MamElements$MamResultExtension
at

when StanzaView.getExtension(Class) is used to retrieve the extension.
2020-08-29 16:29:22 +02:00
..
java/org/jivesoftware/smack [core] Use XmppElementUtil.castOrThrow() in StanzaView.getExtension(Class) 2020-08-29 16:29:22 +02:00
resources/org.jivesoftware.smack XEP-0373, XEP-0374: OpenPGP for XMPP: Instant Messaging 2018-07-29 18:52:45 +02:00