Fix Javadocs

This commit is contained in:
hns 2003-12-18 09:29:06 +00:00
parent 27ba52be0e
commit 7880764599

View file

@ -215,10 +215,9 @@ public class MailObject extends ScriptableObject implements Serializable {
/** /**
* Add a MIME message part to a multipart message * Add a MIME message part to a multipart message
* *
* @param val The part to add * @param obj the MIME part object. Supported classes are java.lang.String,
* * java.io.File and helma.util.MimePart.
* @throws Exception ... * @param filename optional file name for the mime part
* @throws IOException ...
*/ */
public void addPart(Object obj, Object filename) { public void addPart(Object obj, Object filename) {
try { try {
@ -271,9 +270,7 @@ public class MailObject extends ScriptableObject implements Serializable {
/** /**
* Set the subject of this message * Set the subject of this message
* *
* @param val the subject line * @param subject the message subject
*
* @throws Exception ...
*/ */
public void setSubject(Object subject) { public void setSubject(Object subject) {
if (subject == null || subject == Undefined.instance) { if (subject == null || subject == Undefined.instance) {
@ -292,9 +289,6 @@ public class MailObject extends ScriptableObject implements Serializable {
* Set the Reply-to address for this message * Set the Reply-to address for this message
* *
* @param addstr the email address to set in the Reply-to header * @param addstr the email address to set in the Reply-to header
*
* @throws Exception ...
* @throws AddressException ...
*/ */
public void setReplyTo(String addstr) { public void setReplyTo(String addstr) {
try { try {
@ -317,9 +311,6 @@ public class MailObject extends ScriptableObject implements Serializable {
* *
* @param addstr the email address to set in the From header * @param addstr the email address to set in the From header
* @param name the name this address belongs to * @param name the name this address belongs to
*
* @throws Exception ...
* @throws AddressException ...
*/ */
public void setFrom(String addstr, Object name) { public void setFrom(String addstr, Object name) {
try { try {
@ -349,9 +340,6 @@ public class MailObject extends ScriptableObject implements Serializable {
* *
* @param addstr the email address to set in the To header * @param addstr the email address to set in the To header
* @param name the name this address belongs to * @param name the name this address belongs to
*
* @throws Exception ...
* @throws AddressException ...
*/ */
public void setTo(String addstr, Object name) { public void setTo(String addstr, Object name) {
try { try {
@ -369,9 +357,6 @@ public class MailObject extends ScriptableObject implements Serializable {
* *
* @param addstr the email address to set in the To header * @param addstr the email address to set in the To header
* @param name the name this address belongs to * @param name the name this address belongs to
*
* @throws Exception ...
* @throws AddressException ...
*/ */
public void addTo(String addstr, Object name) { public void addTo(String addstr, Object name) {
try { try {
@ -388,9 +373,6 @@ public class MailObject extends ScriptableObject implements Serializable {
* *
* @param addstr the email address to set in the CC header * @param addstr the email address to set in the CC header
* @param name the name this address belongs to * @param name the name this address belongs to
*
* @throws Exception ...
* @throws AddressException ...
*/ */
public void addCC(String addstr, Object name) { public void addCC(String addstr, Object name) {
try { try {
@ -406,9 +388,6 @@ public class MailObject extends ScriptableObject implements Serializable {
* *
* @param addstr the email address to set in the BCC header * @param addstr the email address to set in the BCC header
* @param name the name this address belongs to * @param name the name this address belongs to
*
* @throws Exception ...
* @throws AddressException ...
*/ */
public void addBCC(String addstr, Object name) { public void addBCC(String addstr, Object name) {
try { try {