下面的代码:抛出:IllegalArgumentException当我尝试UnsortedReadableList.loadFrom(矢量)
UnsortedReadableList collection = new UnsortedReadableList();
Vector messages = new Vector();
// ApplicationMessageImpl is simple implementation of
// net.rim.blackberry.api.messagelist.ApplicationMessage interface
messages.addElement(new ApplicationMessageImpl("bla-bla"));
collection.loadFrom(messages);
农产品IllegalArgumentException
有人可以帮助我了解为什么?我看不出异常的任何细节
更新
发布堆栈跟踪。 – GGrec
collection_和collection.loadFrom(消息)。请确认它是否是拼写错误:收集和收集_ – Shashi
Stacktrace附加,但我不认为它会有所帮助。错误的错误已被修复 – CAMOBAP