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

1 2 3

  /packages/apps/UnifiedEmail/src/com/android/emailcommon/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...]
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 {
Folder.java 68 throws MessagingException;
89 public abstract OpenMode getMode() throws MessagingException;
103 public abstract boolean create(FolderType type) throws MessagingException;
105 public abstract boolean exists() throws MessagingException;
110 public abstract int getMessageCount() throws MessagingException;
112 public abstract int getUnreadMessageCount() throws MessagingException;
114 public abstract Message getMessage(String uid) throws MessagingException;
123 throws MessagingException;
126 throws MessagingException;
129 throws MessagingException;
    [all...]
AuthenticationFailedException.java 20 public class AuthenticationFailedException extends MessagingException {
24 super(MessagingException.AUTHENTICATION_FAILED, message);
32 super(MessagingException.AUTHENTICATION_FAILED, message, throwable);
CertificateValidationException.java 20 public class CertificateValidationException extends MessagingException {
24 super(MessagingException.CERTIFICATE_VALIDATION_ERROR, message);
28 super(MessagingException.CERTIFICATE_VALIDATION_ERROR, message, throwable);
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...]
Body.java 24 public InputStream getInputStream() throws MessagingException;
25 public void writeTo(OutputStream out) throws IOException, MessagingException;
MessagingException.java 29 public class MessagingException extends Exception {
78 public MessagingException(String message, Throwable throwable) {
82 public MessagingException(int exceptionType, String message, Throwable throwable) {
89 * Constructs a MessagingException with an exceptionType and a null message.
92 public MessagingException(int exceptionType) {
97 * Constructs a MessagingException with a message.
100 public MessagingException(String message) {
105 * Constructs a MessagingException with an exceptionType and a message.
108 public MessagingException(int exceptionType, String message) {
113 * Constructs a MessagingException with an exceptionType, a message, and dat
    [all...]
Base64Body.java 38 public InputStream getInputStream() throws MessagingException {
47 * @throws MessagingException
51 throws IllegalStateException, IOException, MessagingException {
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
MimeBodyPart.java 21 import com.android.emailcommon.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 {
64 public void addHeader(String name, String value) throws MessagingException {
69 public void setHeader(String name, String value) throws MessagingException {
74 public String[] getHeader(String name) throws MessagingException {
79 public void removeHeader(String name) throws MessagingException {
84 public Body getBody() throws MessagingException {
    [all...]
MimeMultipart.java 20 import com.android.emailcommon.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 {
86 public void writeTo(OutputStream out) throws IOException, MessagingException {
    [all...]
TextBody.java 20 import com.android.emailcommon.mail.MessagingException;
38 public void writeTo(OutputStream out) throws IOException, MessagingException {
55 public InputStream getInputStream() throws MessagingException {
MimeMessage.java 23 import com.android.emailcommon.mail.MessagingException;
118 * @throws MessagingException
120 public MimeMessage(InputStream in) throws IOException, MessagingException {
142 protected void parse(InputStream in) throws IOException, MessagingException {
149 throws IOException, MessagingException {
167 public Date getReceivedDate() throws MessagingException {
172 public Date getSentDate() throws MessagingException {
200 public void setSentDate(Date sentDate) throws MessagingException {
206 public String getContentType() throws MessagingException {
216 public String getDisposition() throws MessagingException {
    [all...]
BinaryTempFileBody.java 21 import com.android.emailcommon.mail.MessagingException;
61 public InputStream getInputStream() throws MessagingException {
66 throw new MessagingException("Unable to open body", ioe);
71 public void writeTo(OutputStream out) throws IOException, MessagingException {
  /packages/apps/Email/src/com/android/email/mail/
Sender.java 24 import com.android.emailcommon.mail.MessagingException;
40 public static Sender newInstance(Account account) throws MessagingException {
41 throw new MessagingException("Sender.newInstance: Unknown scheme in "
46 throws MessagingException {
58 throw new MessagingException("can not instantiate Sender for " + account.mDisplayName);
61 throw new MessagingException(
71 throws MessagingException {
105 * @throws MessagingException If the sender cannot be obtained or if the account is invalid.
108 throws MessagingException {
115 throw new MessagingException("Cannot find sender for account " + account.mDisplayName)
    [all...]
Store.java 29 import com.android.emailcommon.mail.MessagingException;
65 static Store newInstance(Account account) throws MessagingException {
66 throw new MessagingException("Store#newInstance: Unknown scheme in "
82 * @throws MessagingException If the store cannot be obtained or if the account is invalid.
85 throws MessagingException {
109 throws MessagingException {
125 throw new MessagingException("Can't instantiate Store for " + account.mDisplayName);
141 * @throws MessagingException If the store cannot be removed or if the account is invalid.
144 throws MessagingException {
159 public Folder getFolder(String name) throws MessagingException {
    [all...]
  /packages/apps/Exchange/src/com/android/exchange/eas/
EasFolderSync.java 22 import com.android.emailcommon.mail.MessagingException;
134 MessagingException.CLIENT_CERTIFICATE_ERROR);
209 messagingExceptionCode = MessagingException.IOERROR;
212 messagingExceptionCode = MessagingException.IOERROR;
215 messagingExceptionCode = MessagingException.UNSPECIFIED_EXCEPTION;
218 messagingExceptionCode = MessagingException.IOERROR;
221 messagingExceptionCode = MessagingException.ACCESS_DENIED;
225 messagingExceptionCode = MessagingException.UNSPECIFIED_EXCEPTION;
229 MessagingException.SECURITY_POLICIES_REQUIRED :
230 MessagingException.SECURITY_POLICIES_UNSUPPORTED
    [all...]
  /packages/apps/Email/src/com/android/email/mail/store/
ServiceStore.java 25 import com.android.emailcommon.mail.MessagingException;
41 public ServiceStore(Account account, Context context) throws MessagingException {
49 public static Store newInstance(Account account, Context context) throws MessagingException {
58 public Bundle checkSettings() throws MessagingException {
61 * @throws MessagingException if we can't authenticate the account
73 throw new MessagingException("Call to validate generated an exception", e);
ImapConnection.java 35 import com.android.emailcommon.mail.MessagingException;
105 String getLoginPhrase() throws MessagingException, IOException {
132 void open() throws IOException, MessagingException {
262 ImapResponse readResponse() throws IOException, MessagingException {
275 throws MessagingException, IOException {
282 throws MessagingException, IOException {
301 String sendComplexCommand(List<String> commands, boolean sensitive) throws MessagingException,
316 throw new MessagingException("Expected continuation request");
326 List<ImapResponse> executeSimpleCommand(String command) throws IOException, MessagingException {
335 * @throws MessagingException
    [all...]
Pop3Store.java 33 import com.android.emailcommon.mail.MessagingException;
67 public static Store newInstance(Account account, Context context) throws MessagingException {
74 private Pop3Store(Context context, Account account) throws MessagingException {
123 * @throws MessagingException if there was some problem with the account
126 public Bundle checkSettings() throws MessagingException {
166 * @throws MessagingException if the account is not going to be useable
168 public Bundle checkSettings() throws MessagingException {
170 int result = MessagingException.NO_ERROR;
184 result = MessagingException.IOERROR;
193 public synchronized void open(OpenMode mode) throws MessagingException {
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
CheckSettingsErrorDialogFragment.java 28 import com.android.emailcommon.mail.MessagingException;
58 * @param message from {@link #getErrorString(Context, MessagingException)}
83 // MessagingException.AUTODISCOVER_AUTHENTICATION_FAILED
134 public static int getReasonFromException (MessagingException ex) {
137 case MessagingException.AUTODISCOVER_AUTHENTICATION_FAILED:
138 case MessagingException.AUTHENTICATION_FAILED:
140 case MessagingException.CLIENT_CERTIFICATE_REQUIRED:
146 public static String getErrorString(Context context, MessagingException ex) {
155 case MessagingException.CERTIFICATE_VALIDATION_ERROR:
160 case MessagingException.AUTHENTICATION_FAILED
    [all...]
AccountCheckSettingsFragment.java 32 import com.android.emailcommon.mail.MessagingException;
76 private MessagingException mProgressException;
100 * @param hostName Passed back from the MessagingException
107 * {@link CheckSettingsErrorDialogFragment#getReasonFromException(MessagingException)}
109 * {@link CheckSettingsErrorDialogFragment#getErrorString(Context, MessagingException)}
218 private void reportProgress(int newState, MessagingException ex) {
286 public static class AutoDiscoverResults extends MessagingException {
310 private static class AccountCheckTask extends AsyncTask<Void, Integer, MessagingException> {
339 protected MessagingException doInBackground(Void... params) {
349 // MessagingException.AUTHENTICATION_FAILED: username/password rejecte
    [all...]
  /packages/apps/Email/src/com/android/email/mail/transport/
SmtpSender.java 30 import com.android.emailcommon.mail.MessagingException;
59 public static Sender newInstance(Account account, Context context) throws MessagingException {
90 public void open() throws MessagingException {
134 throw new MessagingException(MessagingException.TLS_REQUIRED);
148 throw new MessagingException(MessagingException.OAUTH_NOT_SUPPORTED);
161 throw new MessagingException(MessagingException.AUTH_REQUIRED);
175 throw new MessagingException(MessagingException.IOERROR, ioe.toString())
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/mail/
MessageTestUtils.java 75 * @throws MessagingException
77 public static BodyPart bodyPart(String mimeType, String contentId) throws MessagingException {
91 * @throws MessagingException
93 public static BodyPart textPart(String mimeType, String text) throws MessagingException {
145 * @throws MessagingException
147 public Multipart build() throws MessagingException {
158 * @throws MessagingException
160 public BodyPart buildBodyPart() throws MessagingException {
197 * @throws MessagingException
199 public Message build() throws MessagingException {
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/internet/
MimeBodyPartTest.java 21 import com.android.emailcommon.mail.MessagingException;
39 public void testGetContentId() throws MessagingException {

Completed in 413 milliseconds

1 2 3