You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dj...@apache.org on 2007/03/01 10:55:19 UTC
svn commit: r513249 - in
/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail:
QuotaAwareStore.java internet/MimeMessage.java
Author: djencks
Date: Thu Mar 1 01:55:18 2007
New Revision: 513249
URL: http://svn.apache.org/viewvc?view=rev&rev=513249
Log:
GERONIMO-2911 fix a few methods in javamail 1.4
Modified:
geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/QuotaAwareStore.java
geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/MimeMessage.java
Modified: geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/QuotaAwareStore.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/QuotaAwareStore.java?view=diff&rev=513249&r1=513248&r2=513249
==============================================================================
--- geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/QuotaAwareStore.java (original)
+++ geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/QuotaAwareStore.java Thu Mar 1 01:55:18 2007
@@ -31,16 +31,18 @@
* @param root The root name for the quota information.
*
* @return An array of Quota objects defined for the root.
+ * @throws MessagingException if the quotas cannot be retrieved
*/
- public Quota[] getQuota(String root);
+ public Quota[] getQuota(String root) throws javax.mail.MessagingException;
/**
* Set a quota item. The root contained in the Quota item identies
* the quota target.
*
* @param quota The source quota item.
+ * @throws MessagingException if the quota cannot be set
*/
- public void setQuota(Quota quota);
+ public void setQuota(Quota quota) throws javax.mail.MessagingException;
}
Modified: geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/MimeMessage.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/MimeMessage.java?view=diff&rev=513249&r1=513248&r2=513249
==============================================================================
--- geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/MimeMessage.java (original)
+++ geronimo/specs/trunk/geronimo-javamail_1.4_spec/src/main/java/javax/mail/internet/MimeMessage.java Thu Mar 1 01:55:18 2007
@@ -1543,7 +1543,7 @@
*
* @exception MessagingException
*/
- public void updateMessageID() throws MessagingException {
+ protected void updateMessageID() throws MessagingException {
StringBuffer id = new StringBuffer();
id.append('<');
@@ -1578,8 +1578,9 @@
* @param session The session associated with this message.
*
* @return A newly create MimeMessage instance.
+ * @throws javax.mail.MessagingException if the MimeMessage could not be created
*/
- protected MimeMessage createMimeMessage(Session session) {
+ protected MimeMessage createMimeMessage(Session session) throws javax.mail.MessagingException {
return new MimeMessage(session);
}