/packages/apps/Email/emailcommon/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...] |
Folder.java | 66 throws MessagingException; 74 public abstract void close(boolean expunge) throws MessagingException; 87 public abstract OpenMode getMode() throws MessagingException; 101 public abstract boolean create(FolderType type) throws MessagingException; 103 public abstract boolean exists() throws MessagingException; 108 public abstract int getMessageCount() throws MessagingException; 110 public abstract int getUnreadMessageCount() throws MessagingException; 112 public abstract Message getMessage(String uid) throws MessagingException; 121 throws MessagingException; 124 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...] |
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 | 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);
|
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 { 74 public MessagingException(String message, Throwable throwable) { 78 public MessagingException(int exceptionType, String message, Throwable throwable) { 85 * Constructs a MessagingException with an exceptionType and a null message. 88 public MessagingException(int exceptionType) { 93 * Constructs a MessagingException with a message. 96 public MessagingException(String message) { 101 * Constructs a MessagingException with an exceptionType and a message. 104 public MessagingException(int exceptionType, String message) { 109 * Constructs a MessagingException with an exceptionType, a message, and dat [all...] |
/packages/apps/Email/src/com/android/email/ |
MessagingExceptionStrings.java | 19 import com.android.emailcommon.mail.MessagingException; 27 public static String getErrorString(Context context, MessagingException e) { 34 private static int getErrorStringResourceId(MessagingException e) { 36 case MessagingException.IOERROR: 38 case MessagingException.ATTACHMENT_NOT_FOUND: 40 case MessagingException.TLS_REQUIRED: 42 case MessagingException.AUTH_REQUIRED: 44 case MessagingException.GENERAL_SECURITY: 48 case MessagingException.SECURITY_POLICIES_REQUIRED: 50 case MessagingException.ACCESS_DENIED [all...] |
ControllerResultUiThreadWrapper.java | 22 import com.android.emailcommon.mail.MessagingException; 61 public void loadAttachmentCallback(final MessagingException result, final long accountId, 77 public void loadMessageForViewCallback(final MessagingException result, final long accountId, 88 public void sendMailCallback(final MessagingException result, final long accountId, 99 public void serviceCheckMailCallback(final MessagingException result, final long accountId, 110 public void updateMailboxCallback(final MessagingException result, final long accountId, 123 public void updateMailboxListCallback(final MessagingException result, final long accountId,
|
/packages/apps/Email/emailcommon/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 { 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 | 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 { 85 public void writeTo(OutputStream out) throws IOException, MessagingException { [all...] |
TextBody.java | 20 import com.android.emailcommon.mail.MessagingException; 37 public void writeTo(OutputStream out) throws IOException, MessagingException { 53 public InputStream getInputStream() throws MessagingException {
|
MimeMessage.java | 23 import com.android.emailcommon.mail.MessagingException; 116 * @throws MessagingException 118 public MimeMessage(InputStream in) throws IOException, MessagingException { 122 protected void parse(InputStream in) throws IOException, MessagingException { 152 public Date getReceivedDate() throws MessagingException { 157 public Date getSentDate() throws MessagingException { 171 public void setSentDate(Date sentDate) throws MessagingException { 177 public String getContentType() throws MessagingException { 186 public String getDisposition() throws MessagingException { 195 public String getContentId() throws MessagingException { [all...] |
BinaryTempFileBody.java | 21 import com.android.emailcommon.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 | 19 import com.android.emailcommon.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/ |
Sender.java | 25 import com.android.emailcommon.mail.MessagingException; 41 throws MessagingException { 42 throw new MessagingException("Sender.newInstance: Unknown scheme in " 47 throws MessagingException { 59 throw new MessagingException("can not instantiate Sender for " + account.mDisplayName); 62 throw new MessagingException( 72 throws MessagingException { 106 * @throws MessagingException If the sender cannot be obtained or if the account is invalid. 109 throws MessagingException { 116 throw new MessagingException("Cannot find sender for account " + account.mDisplayName) [all...] |
Transport.java | 20 import com.android.emailcommon.mail.MessagingException; 114 public void open() throws MessagingException, CertificateValidationException; 119 public void reopenTls() throws MessagingException;
|
Store.java | 29 import com.android.emailcommon.mail.MessagingException; 70 static Store newInstance(Account account, Context context) throws MessagingException { 71 throw new MessagingException("Store#newInstance: Unknown scheme in " 86 * @throws MessagingException If the store cannot be obtained or if the account is invalid. 89 throws MessagingException { 105 throw new MessagingException("Can't instantiate Store for " + account.mDisplayName); 122 * @throws MessagingException If the store cannot be removed or if the account is invalid. 125 throws MessagingException { 149 public Folder getFolder(String name) throws MessagingException { 158 * @throws MessagingException If there was a problem connecting to the remote serve [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
SmtpSender.java | 31 import com.android.emailcommon.mail.MessagingException; 56 public static Sender newInstance(Account account, Context context) throws MessagingException { 63 private SmtpSender(Context context, Account account) throws MessagingException { 67 throw new MessagingException("Unsupported protocol"); 107 public void open() throws MessagingException { 151 throw new MessagingException(MessagingException.TLS_REQUIRED); 173 throw new MessagingException(MessagingException.AUTH_REQUIRED); 185 throw new MessagingException(MessagingException.IOERROR, ioe.toString()) [all...] |
ExchangeSender.java | 20 import com.android.emailcommon.mail.MessagingException; 34 public static Sender newInstance(Account account, Context context) throws MessagingException {
|
/packages/apps/Email/src/com/android/email/mail/store/ |
ExchangeStore.java | 23 import com.android.emailcommon.mail.MessagingException; 35 public static Store newInstance(Account account, Context context) throws MessagingException { 42 public ExchangeStore(Account account, Context context) throws MessagingException {
|
ServiceStore.java | 24 import com.android.emailcommon.mail.MessagingException; 41 public ServiceStore(Account account, Context context) throws MessagingException { 47 public Bundle checkSettings() throws MessagingException { 50 * @throws MessagingException if we can't authenticate the account 61 throw new MessagingException("Call to validate generated an exception", e);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountCheckSettingsFragment.java | 37 import com.android.emailcommon.mail.MessagingException; 83 private MessagingException mProgressException; 213 private void reportProgress(int newState, MessagingException ex) { 383 public static class AutoDiscoverResults extends MessagingException { 407 private class AccountCheckTask extends AsyncTask<Void, Integer, MessagingException> { 431 protected MessagingException doInBackground(Void... params) { 445 // MessagingException.AUTHENTICATION_FAILED: username/password rejected 453 if (errorCode == MessagingException.AUTODISCOVER_AUTHENTICATION_FAILED) { 455 } else if (errorCode != MessagingException.NO_ERROR) { 471 int resultCode = MessagingException.UNSPECIFIED_EXCEPTION [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...] |