HomeSort by relevance Sort by last modified time
    Searched refs:MessagingException (Results 1 - 25 of 62) sorted by null

1 2 3

  /packages/apps/Email/src/com/android/email/mail/
Part.java 23 public void addHeader(String name, String value) throws MessagingException;
25 public void removeHeader(String name) throws MessagingException;
27 public void setHeader(String name, String value) throws MessagingException;
29 public Body getBody() throws MessagingException;
31 public String getContentType() throws MessagingException;
33 public String getDisposition() throws MessagingException;
35 public String getContentId() throws MessagingException;
37 public String[] getHeader(String name) throws MessagingException;
39 public void setExtendedHeader(String name, String value) throws MessagingException;
41 public String getExtendedHeader(String name) throws MessagingException;
    [all...]
Message.java 49 public abstract String getSubject() throws MessagingException;
51 public abstract void setSubject(String subject) throws MessagingException;
61 public abstract Date getReceivedDate() throws MessagingException;
63 public abstract Date getSentDate() throws MessagingException;
65 public abstract void setSentDate(Date sentDate) throws MessagingException;
67 public abstract Address[] getRecipients(RecipientType type) throws MessagingException;
70 throws MessagingException;
72 public void setRecipient(RecipientType type, Address address) throws MessagingException {
78 public abstract Address[] getFrom() throws MessagingException;
80 public abstract void setFrom(Address from) throws MessagingException;
    [all...]
Folder.java 63 throws MessagingException;
71 public abstract void close(boolean expunge) throws MessagingException;
85 public abstract OpenMode getMode() throws MessagingException;
100 public abstract boolean create(FolderType type) throws MessagingException;
102 public abstract boolean exists() throws MessagingException;
107 public abstract int getMessageCount() throws MessagingException;
109 public abstract int getUnreadMessageCount() throws MessagingException;
111 public abstract Message getMessage(String uid) throws MessagingException;
114 throws MessagingException;
126 throws MessagingException;
    [all...]
Multipart.java 28 public void addBodyPart(BodyPart part) throws MessagingException {
32 public void addBodyPart(BodyPart part, int index) throws MessagingException {
36 public BodyPart getBodyPart(int index) throws MessagingException {
40 public String getContentType() throws MessagingException {
44 public int getCount() throws MessagingException {
48 public boolean removeBodyPart(BodyPart part) throws MessagingException {
52 public void removeBodyPart(int index) throws MessagingException {
56 public Part getParent() throws MessagingException {
60 public void setParent(Part parent) throws MessagingException {
AuthenticationFailedException.java 19 public class AuthenticationFailedException extends MessagingException {
23 super(MessagingException.AUTHENTICATION_FAILED, message);
28 mExceptionType = MessagingException.AUTHENTICATION_FAILED;
MessagingException.java 28 public class MessagingException extends Exception {
55 public MessagingException(String message) {
60 public MessagingException(String message, Throwable throwable) {
66 * Constructs a MessagingException with an exceptionType and a null message.
69 public MessagingException(int exceptionType) {
75 * Constructs a MessagingException with an exceptionType and a message.
78 public MessagingException(int exceptionType, String message) {
Body.java 24 public InputStream getInputStream() throws MessagingException;
25 public void writeTo(OutputStream out) throws IOException, MessagingException;
CertificateValidationException.java 19 public class CertificateValidationException extends MessagingException {
NoSuchProviderException.java 19 public class NoSuchProviderException extends MessagingException {
Sender.java 41 throws MessagingException {
42 throw new MessagingException("Sender.newInstance: Unknown scheme in " + uri);
46 throws MessagingException {
58 throw new MessagingException("can not instantiate Sender object for " + uri);
61 throw new MessagingException(
71 throws MessagingException {
98 throws MessagingException {
112 throw new MessagingException("Unable to locate an applicable Transport for " + uri);
127 public abstract void open() throws MessagingException;
142 public static class LimitViolationException extends MessagingException {
    [all...]
Transport.java 117 public void open() throws MessagingException, CertificateValidationException;
122 public void reopenTls() throws MessagingException;
Store.java 66 throws MessagingException {
67 throw new MessagingException("Store.newInstance: Unknown scheme in " + uri);
72 throws MessagingException {
85 throw new MessagingException("can not instantiate Store object for " + uri);
88 throw new MessagingException(
167 * @throws MessagingException
171 throws MessagingException {
188 throw new MessagingException("Unable to locate an applicable Store for " + uri);
244 public abstract Folder getFolder(String name) throws MessagingException;
246 public abstract Folder[] getPersonalNamespaces() throws MessagingException;
    [all...]
  /packages/apps/Email/src/com/android/email/mail/internet/
MimeBodyPart.java 27 import com.android.email.mail.MessagingException;
44 public MimeBodyPart() throws MessagingException {
48 public MimeBodyPart(Body body) throws MessagingException {
52 public MimeBodyPart(Body body, String mimeType) throws MessagingException {
59 protected String getFirstHeader(String name) throws MessagingException {
63 public void addHeader(String name, String value) throws MessagingException {
67 public void setHeader(String name, String value) throws MessagingException {
71 public String[] getHeader(String name) throws MessagingException {
75 public void removeHeader(String name) throws MessagingException {
79 public Body getBody() throws MessagingException {
    [all...]
MimeMultipart.java 26 import com.android.email.mail.MessagingException;
38 public MimeMultipart() throws MessagingException {
43 public MimeMultipart(String contentType) throws MessagingException {
49 throw new MessagingException("MultiPart does not contain boundary: " + contentType);
52 throw new MessagingException(
67 public String getPreamble() throws MessagingException {
71 public void setPreamble(String preamble) throws MessagingException {
76 public String getContentType() throws MessagingException {
80 public void setSubType(String subType) throws MessagingException {
85 public void writeTo(OutputStream out) throws IOException, MessagingException {
    [all...]
TextBody.java 20 import com.android.email.mail.MessagingException;
37 public void writeTo(OutputStream out) throws IOException, MessagingException {
53 public InputStream getInputStream() throws MessagingException {
MimeMessage.java 23 import com.android.email.mail.MessagingException;
115 * @throws MessagingException
117 public MimeMessage(InputStream in) throws IOException, MessagingException {
121 protected void parse(InputStream in) throws IOException, MessagingException {
151 public Date getReceivedDate() throws MessagingException {
156 public Date getSentDate() throws MessagingException {
170 public void setSentDate(Date sentDate) throws MessagingException {
176 public String getContentType() throws MessagingException {
185 public String getDisposition() throws MessagingException {
194 public String getContentId() throws MessagingException {
    [all...]
BinaryTempFileBody.java 21 import com.android.email.mail.MessagingException;
60 public InputStream getInputStream() throws MessagingException {
65 throw new MessagingException("Unable to open body", ioe);
69 public void writeTo(OutputStream out) throws IOException, MessagingException {
MimeHeader.java 20 import com.android.email.mail.MessagingException;
62 public String getFirstHeader(String name) throws MessagingException {
70 public void addHeader(String name, String value) throws MessagingException {
74 public void setHeader(String name, String value) throws MessagingException {
82 public String[] getHeader(String name) throws MessagingException {
95 public void removeHeader(String name) throws MessagingException {
124 public void writeTo(OutputStream out) throws IOException, MessagingException {
  /packages/apps/Email/src/com/android/email/mail/transport/
SmtpSender.java 23 import com.android.email.mail.MessagingException;
53 public static Sender newInstance(Context context, String uri) throws MessagingException {
67 private SmtpSender(Context context, String uriString) throws MessagingException {
73 throw new MessagingException("Invalid SmtpTransport URI", use);
78 throw new MessagingException("Unsupported protocol");
115 public void open() throws MessagingException {
151 throw new MessagingException(MessagingException.TLS_REQUIRED);
173 throw new MessagingException(MessagingException.AUTH_REQUIRED)
    [all...]
  /packages/apps/Email/src/com/android/email/mail/store/
ExchangeStore.java 23 import com.android.email.mail.MessagingException;
58 throws MessagingException {
69 throws MessagingException {
73 throw new MessagingException("Invalid uri for ExchangeStore");
80 public void checkSettings() throws MessagingException {
181 throws MessagingException {
184 throw new MessagingException("Invalid scheme");
199 private ExchangeTransport(URI uri, Context context) throws MessagingException {
207 * @throws MessagingException
209 private void setUri(final URI uri) throws MessagingException {
    [all...]
Pop3Store.java 26 import com.android.email.mail.MessagingException;
88 throws MessagingException {
101 private Pop3Store(String _uri) throws MessagingException {
106 throw new MessagingException("Invalid Pop3Store URI", use);
111 throw new MessagingException("Unsupported protocol");
148 public Folder getFolder(String name) throws MessagingException {
158 public Folder[] getPersonalNamespaces() throws MessagingException {
169 * @throws MessagingException if there was some problem with the account
172 public void checkSettings() throws MessagingException {
209 * @throws MessagingException if the account is not going to be useabl
    [all...]
ImapStore.java 29 import com.android.email.mail.MessagingException;
139 throws MessagingException {
153 private ImapStore(Context context, String uriString) throws MessagingException {
159 throw new MessagingException("Invalid ImapStore URI", use);
164 throw new MessagingException("Unsupported protocol");
367 public Folder getFolder(String name) throws MessagingException {
380 public Folder[] getPersonalNamespaces() throws MessagingException {
413 throw new MessagingException("Unable to get folder list.", ioe);
421 public void checkSettings() throws MessagingException {
427 throw new MessagingException(MessagingException.IOERROR, ioe.toString())
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/internet/
MimeBodyPartTest.java 19 import com.android.email.mail.MessagingException;
39 public void testGetContentId() throws MessagingException {
  /packages/apps/Email/tests/src/com/android/email/mail/store/
Pop3StoreUnitTests.java 28 import com.android.email.mail.MessagingException;
160 public void testSimpleLogin() throws MessagingException {
180 public void testCheckSettings() throws MessagingException {
201 fail("MessagingException was expected due to UIDL unsupported.");
202 } catch (MessagingException me) {
212 public void testCheckSettingsCapabilities() throws MessagingException {
224 } catch (MessagingException me) {
241 public void testStoreFoldersFunctions() throws MessagingException {
264 public void testSmallFolderFunctions() throws MessagingException {
321 public void testNoFolderRolesYet() throws MessagingException {
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/
StoreTests.java 33 public void testStoreLookupPOP() throws MessagingException {
44 // This will throw MessagingException if the result would have been null
51 public void testStoreLookupIMAP() throws MessagingException {
62 // This will throw MessagingException if the result would have been null
70 public void testStoreLookupEAS() throws MessagingException {
80 // This will throw MessagingException if the result would have been null
85 fail("MessagingException expected when EAS not supported");
86 } catch (MessagingException me) {
102 fail("MessagingException expected from bogus URI scheme");
103 } catch (MessagingException me)
    [all...]

Completed in 1140 milliseconds

1 2 3