wrap();
initSpotnikMessage(account);
}
catch( MessagingException ex)
{
throw new BusinessException("error creating wrapped message", ex);
}
catch( IOException ex)
{
throw new BusinessException("error creating wrapped message", ex);
}
}
else
{
throw new BusinessException("Message must be of type MimeMessage");
}
}