DisplayPictureListener listener)
throws JmlException {
// Check that the MsnObject is not null
if (displayPicture == null) {
throw new JmlException();
}
// Check that the MsnObject is a display picture or an emoticon
if (displayPicture.getType() != MsnObject.TYPE_DISPLAY_PICTURE &&
displayPicture.getType() != MsnObject.TYPE_CUSTOM_EMOTICON) {
throw new JmlException();
}
// Create a new worker for the MsnObject retrieval
DisplayPictureRetrieveWorker worker = new DisplayPictureRetrieveWorker(
this,