@Test public void setSubject() throws Exception { this.scriptMessage.setSubject("lorem ipsum"); assertEquals("lorem ipsum", this.scriptMessage.getSubject()); }
@Override public void setSubject(String subject) { try { super.setSubject(subject); } catch (Exception e) { setError(e); } }
ScriptMimeMessage extends ExtendedMimeMessage { @Override public void setSubject(String subject) { try { super.setSubject(subject); } catch (Exception e) { setError(e); } } }
ScriptMimeMessage extends ExtendedMimeMessage { @Override public void setSubject(String subject) { try { super.setSubject(subject); } catch (Exception e) { setError(e); } } ScriptMimeMessage(MimeMessage sourceMessage, Execution execution, ComponentManager componentManager);   ScriptMimeMessage(Execution execution, ComponentManager componentManager); }
ScriptMimeMessage extends ExtendedMimeMessage { @Override public void setSubject(String subject) { try { super.setSubject(subject); } catch (Exception e) { setError(e); } } ScriptMimeMessage(MimeMessage sourceMessage, Execution execution, ComponentManager componentManager);   ScriptMimeMessage(Execution execution, ComponentManager componentManager); void addPart(BodyPart bodyPart); BodyPart addPart(String mimeType, Object content); BodyPart addPart(String mimeType, Object content, Map<String, Object> parameters); @Override void setSubject(String subject); @Override void setFrom(Address address); @Override void addRecipients(Message.RecipientType type, Address[] addresses); @Override void addRecipient(Message.RecipientType type, Address address); @Override void addHeader(String name, String value); }
ScriptMimeMessage extends ExtendedMimeMessage { @Override public void setSubject(String subject) { try { super.setSubject(subject); } catch (Exception e) { setError(e); } } ScriptMimeMessage(MimeMessage sourceMessage, Execution execution, ComponentManager componentManager);   ScriptMimeMessage(Execution execution, ComponentManager componentManager); void addPart(BodyPart bodyPart); BodyPart addPart(String mimeType, Object content); BodyPart addPart(String mimeType, Object content, Map<String, Object> parameters); @Override void setSubject(String subject); @Override void setFrom(Address address); @Override void addRecipients(Message.RecipientType type, Address[] addresses); @Override void addRecipient(Message.RecipientType type, Address address); @Override void addHeader(String name, String value);  }