Menu

#3 Allow Exception for unmarshallContact()

open
nobody
None
5
2004-11-06
2004-11-06
No

I found it necessary to extend JPIM to provide an
unmarshallContact() derivative that would throw an Exception on
error. This way I can pass the error message on to the end user
to they have some idea about what they should do to fix their
VCARD data.

public Contact unmarshallContactAllowException(InputStream in)
throws net.wimpi.pim.util.versitio.versitException;

I just copied the existing method and removed the try/catch that
ate the Exception.

Cheers.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.