Home
last modified time | relevance | path

Searched refs:MessagingException (Results 1 – 24 of 24) sorted by relevance

/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
H A DMessage.java50 public abstract String getSubject() throws MessagingException; in getSubject()
52 public abstract void setSubject(String subject) throws MessagingException; in setSubject()
62 public abstract Date getReceivedDate() throws MessagingException; in getReceivedDate()
64 public abstract Date getSentDate() throws MessagingException; in getSentDate()
69 public abstract Long getDuration() throws MessagingException; in getDuration()
79 public abstract Address[] getFrom() throws MessagingException; in getFrom()
81 public abstract void setFrom(Address from) throws MessagingException; in setFrom()
83 public abstract Address[] getReplyTo() throws MessagingException; in getReplyTo()
90 public abstract String getMessageId() throws MessagingException; in getMessageId()
93 public boolean isMimeType(String mimeType) throws MessagingException { in isMimeType()
[all …]
H A DPart.java24 public void removeHeader(String name) throws MessagingException; in removeHeader()
28 public Body getBody() throws MessagingException; in getBody()
30 public String getContentType() throws MessagingException; in getContentType()
32 public String getDisposition() throws MessagingException; in getDisposition()
34 public String getContentId() throws MessagingException; in getContentId()
36 public String[] getHeader(String name) throws MessagingException; in getHeader()
40 public String getExtendedHeader(String name) throws MessagingException; in getExtendedHeader()
42 public int getSize() throws MessagingException; in getSize()
44 public boolean isMimeType(String mimeType) throws MessagingException; in isMimeType()
46 public String getMimeType() throws MessagingException; in getMimeType()
[all …]
H A DMultipart.java27 public void addBodyPart(BodyPart part) throws MessagingException { in addBodyPart()
31 public void addBodyPart(BodyPart part, int index) throws MessagingException { in addBodyPart()
35 public BodyPart getBodyPart(int index) throws MessagingException { in getBodyPart()
39 public String getContentType() throws MessagingException { in getContentType()
43 public int getCount() throws MessagingException { in getCount()
47 public boolean removeBodyPart(BodyPart part) throws MessagingException { in removeBodyPart()
51 public void removeBodyPart(int index) throws MessagingException { in removeBodyPart()
55 public Part getParent() throws MessagingException { in getParent()
59 public void setParent(Part parent) throws MessagingException { in setParent()
H A DMailTransport.java103 public void open() throws MessagingException { in open()
114 throw new MessagingException( in open()
115 MessagingException.IOERROR, in open()
124 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in open()
154 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in open()
162 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in open()
173 Socket createSocket() throws MessagingException; in createSocket()
181 protected Socket createSocket() throws MessagingException { in createSocket()
197 throw new MessagingException(MessagingException.IOERROR, ioe.toString()); in createSocket()
204 public void reopenTls() throws MessagingException { in reopenTls()
[all …]
H A DMessagingException.java28 public class MessagingException extends Exception { class
77 public MessagingException(String message, Throwable throwable) { in MessagingException() method in MessagingException
81 public MessagingException(int exceptionType, String message, Throwable throwable) { in MessagingException() method in MessagingException
92 public MessagingException(int exceptionType) { in MessagingException() method in MessagingException
101 public MessagingException(String message) { in MessagingException() method in MessagingException
110 public MessagingException(int exceptionType, String message) { in MessagingException() method in MessagingException
121 public MessagingException(int exceptionType, String message, Object data) { in MessagingException() method in MessagingException
H A DAuthenticationFailedException.java19 public class AuthenticationFailedException extends MessagingException {
23 super(MessagingException.AUTHENTICATION_FAILED, message); in AuthenticationFailedException()
31 super(MessagingException.AUTHENTICATION_FAILED, message, throwable); in AuthenticationFailedException()
H A DBody.java23 public InputStream getInputStream() throws MessagingException; in getInputStream()
25 public void writeTo(OutputStream out) throws IOException, MessagingException; in writeTo()
H A DBase64Body.java35 public InputStream getInputStream() throws MessagingException { in getInputStream()
49 throws IllegalStateException, IOException, MessagingException { in writeTo()
H A DCertificateValidationException.java19 public class CertificateValidationException extends MessagingException {
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
H A DMimeBodyPart.java20 import com.android.voicemail.impl.mail.MessagingException;
40 public MimeBodyPart() throws MessagingException { in MimeBodyPart()
44 public MimeBodyPart(Body body) throws MessagingException { in MimeBodyPart()
75 public void removeHeader(String name) throws MessagingException { in removeHeader()
80 public Body getBody() throws MessagingException { in getBody()
85 public void setBody(Body body) throws MessagingException { in setBody()
104 public String getContentType() throws MessagingException { in getContentType()
114 public String getDisposition() throws MessagingException { in getDisposition()
124 public String getContentId() throws MessagingException { in getContentId()
135 public String getMimeType() throws MessagingException { in getMimeType()
[all …]
H A DMimeMessage.java25 import com.android.voicemail.impl.mail.MessagingException;
164 public Date getSentDate() throws MessagingException { in getSentDate()
207 } catch (MessagingException e) { in getDuration()
255 public int getSize() throws MessagingException { in getSize()
408 public Body getBody() throws MessagingException { in getBody()
576 } catch (MessagingException me) { in startMessage()
599 } catch (MessagingException me) { in field()
618 } catch (MessagingException me) { in startMultipart()
629 } catch (MessagingException me) { in body()
647 } catch (MessagingException me) { in startBodyPart()
[all …]
H A DMimeMultipart.java19 import com.android.voicemail.impl.mail.MessagingException;
36 public MimeMultipart() throws MessagingException { in MimeMultipart()
41 public MimeMultipart(String contentType) throws MessagingException { in MimeMultipart()
47 throw new MessagingException("MultiPart does not contain boundary: " + contentType); in MimeMultipart()
50 throw new MessagingException( in MimeMultipart()
67 public String getPreamble() throws MessagingException { in getPreamble()
71 public void setPreamble(String preamble) throws MessagingException { in setPreamble()
76 public String getContentType() throws MessagingException { in getContentType()
80 public void setSubType(String subType) throws MessagingException { in setSubType()
86 public void writeTo(OutputStream out) throws IOException, MessagingException { in writeTo()
[all …]
H A DMimeHeader.java18 import com.android.voicemail.impl.mail.MessagingException;
54 public String getFirstHeader(String name) throws MessagingException { in getFirstHeader()
62 public void addHeader(String name, String value) throws MessagingException { in addHeader()
66 public void setHeader(String name, String value) throws MessagingException { in setHeader()
74 public String[] getHeader(String name) throws MessagingException { in getHeader()
87 public void removeHeader(String name) throws MessagingException { in removeHeader()
116 public void writeTo(OutputStream out) throws IOException, MessagingException { in writeTo()
H A DBinaryTempFileBody.java21 import com.android.voicemail.impl.mail.MessagingException;
58 public InputStream getInputStream() throws MessagingException { in getInputStream()
62 throw new MessagingException("Unable to open body", ioe); in getInputStream()
67 public void writeTo(OutputStream out) throws IOException, MessagingException { in writeTo()
H A DTextBody.java20 import com.android.voicemail.impl.mail.MessagingException;
35 public void writeTo(OutputStream out) throws IOException, MessagingException { in writeTo()
51 public InputStream getInputStream() throws MessagingException { in getInputStream()
H A DMimeUtility.java26 import com.android.voicemail.impl.mail.MessagingException;
356 throws MessagingException { in collectParts()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
H A DImapConnection.java25 import com.android.voicemail.impl.mail.MessagingException;
94 public void open() throws IOException, MessagingException { in open()
115 throw new MessagingException( in open()
116 MessagingException.AUTHENTICATION_FAILED_OR_SERVER_ERROR, in open()
148 } catch (IOException | MessagingException e) { in logout()
169 private void maybeDoStartTls() throws IOException, MessagingException { in maybeDoStartTls()
228 throw new MessagingException(alertText, ie); in doLogin()
332 throws IOException, MessagingException { in executeSimpleCommand()
348 throws IOException, MessagingException { in executeSimpleCommand()
356 throws IOException, MessagingException { in sendCommand()
[all …]
H A DImapFolder.java31 import com.android.voicemail.impl.mail.MessagingException;
119 } catch (MessagingException e) { in open()
138 } catch (MessagingException e) { in close()
234 throws MessagingException { in fetch()
244 throws MessagingException { in fetchInternal()
360 } catch (MessagingException e) { in fetchInternal()
485 throws MessagingException { in parseBodyStructure()
550 throw new MessagingException( in parseBodyStructure()
675 throws MessagingException { in setFlags()
736 throw new MessagingException( in doSelect()
[all …]
H A DImapStore.java24 import com.android.voicemail.impl.mail.MessagingException;
116 public void parse(InputStream in) throws IOException, MessagingException, MimeException { in parse()
120 public void setFlagInternal(String flag, boolean set) throws MessagingException { in setFlagInternal()
125 public void setFlag(String flag, boolean set) throws MessagingException { in setFlag()
131 static class ImapException extends MessagingException {
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
H A DImapHelper.java192 } catch (MessagingException e) { in setFlags()
226 } catch (MessagingException e) { in fetchAllVoicemails()
327 } catch (MessagingException e) { in fetchVoicemailPayload()
378 } catch (MessagingException e) { in fetchTranscription()
421 throw new MessagingException(MessagingException.SERVER_ERROR, ioe.toString()); in closeNewUserTutorial()
429 throws MessagingException { in getChangePinResultFromImapResponse()
431 throw new MessagingException(MessagingException.SERVER_ERROR, "tagged response expected"); in getChangePinResultFromImapResponse()
465 } catch (MessagingException e) { in updateQuota()
482 } catch (MessagingException e) { in getQuota()
545 } catch (MessagingException e) { in messageRetrieved()
[all …]
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
H A DImapResponseParser.java22 import com.android.voicemail.impl.mail.MessagingException;
134 public ImapResponse readResponse(boolean byeExpected) throws IOException, MessagingException { in readResponse()
214 private ImapResponse parseResponse() throws IOException, MessagingException { in parseResponse()
296 private ImapElement parseElement() throws IOException, MessagingException { in parseElement()
328 private ImapString parseBareString() throws IOException, MessagingException { in parseBareString()
355 throw new MessagingException("Expected string, none found."); in parseBareString()
375 private void parseElements(ImapList list, char end) throws IOException, MessagingException { in parseElements()
396 private ImapList parseList(char opening, char closing) throws IOException, MessagingException { in parseList()
404 private ImapString parseLiteral() throws IOException, MessagingException { in parseLiteral()
410 throw new MessagingException("Invalid length in literal"); in parseLiteral()
[all …]
H A DDigestMd5Utils.java27 import com.android.voicemail.impl.mail.MessagingException;
95 public void verifyResponseAuth(String response) throws MessagingException { in verifyResponseAuth()
97 throw new MessagingException("response-auth expected"); in verifyResponseAuth()
102 throw new MessagingException("invalid response-auth return from the server."); in verifyResponseAuth()
221 public static Map<String, String> parseDigestMessage(String message) throws MessagingException { in parseDigestMessage()
224 throw new MessagingException("nonce missing from server DIGEST-MD5 challenge"); in parseDigestMessage()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/
H A DPinChangerImpl.java29 import com.android.voicemail.impl.mail.MessagingException;
59 } catch (InitializingException | MessagingException e) { in changePin()
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
H A DVvm3Protocol.java40 import com.android.voicemail.impl.mail.MessagingException;
247 } catch (InitializingException | MessagingException | IOException e) { in startProvisionNewUser()
263 throws IOException, MessagingException { in setPin()