throw new AuthorizationFailedException("Email- updateHeader");
try
{
InitialContext ic = CVUtility.getInitialContext();
SendMailLocalHome home = (SendMailLocalHome)ic.lookup("local/SendMail");
SendMailLocal remote = home.create();
remote.setDataSource(this.dataSource);
remote.updateHeader(userId,messageId,headerName,headerValue);
}
catch(Exception e)
{
System.out.println("[Exception][EmailFacadeBean.updateHeader] Exception Thrown: "+e);
e.printStackTrace();