Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/
DMimeMessage.java25 import com.android.voicemail.impl.mail.MessagingException;
120 public MimeMessage(InputStream in) throws IOException, MessagingException, MimeException { in MimeMessage()
142 public void parse(InputStream in) throws IOException, MessagingException, MimeException { in parse()
159 public Date getReceivedDate() throws MessagingException { in getReceivedDate()
164 public Date getSentDate() throws MessagingException { in getSentDate()
196 public void setSentDate(Date sentDate) throws MessagingException { in setSentDate()
207 } catch (MessagingException e) { in getDuration()
224 public String getContentType() throws MessagingException { in getContentType()
234 public String getDisposition() throws MessagingException { in getDisposition()
239 public String getContentId() throws MessagingException { in getContentId()
[all …]
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()
48 public MimeBodyPart(Body body, String mimeType) throws MessagingException { in MimeBodyPart()
55 protected String getFirstHeader(String name) throws MessagingException { in getFirstHeader()
60 public void addHeader(String name, String value) throws MessagingException { in addHeader()
65 public void setHeader(String name, String value) throws MessagingException { in setHeader()
70 public String[] getHeader(String name) throws MessagingException { in getHeader()
75 public void removeHeader(String name) throws MessagingException { in removeHeader()
80 public Body getBody() throws MessagingException { in getBody()
[all …]
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 …]
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()
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()
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()
DMimeUtility.java26 import com.android.voicemail.impl.mail.MessagingException;
356 throws MessagingException { in collectParts()
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
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()
66 public abstract void setSentDate(Date sentDate) throws MessagingException; in setSentDate()
69 public abstract Long getDuration() throws MessagingException; in getDuration()
71 public abstract Address[] getRecipients(String type) throws MessagingException; in getRecipients()
73 public abstract void setRecipients(String type, Address[] addresses) throws MessagingException; in setRecipients()
75 public void setRecipient(String type, Address address) throws MessagingException { in setRecipient()
79 public abstract Address[] getFrom() throws MessagingException; in getFrom()
[all …]
DPart.java22 public void addHeader(String name, String value) throws MessagingException; in addHeader()
24 public void removeHeader(String name) throws MessagingException; in removeHeader()
26 public void setHeader(String name, String value) throws MessagingException; in setHeader()
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()
38 public void setExtendedHeader(String name, String value) throws MessagingException; in setExtendedHeader()
40 public String getExtendedHeader(String name) throws MessagingException; in getExtendedHeader()
[all …]
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 …]
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()
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
DAuthenticationFailedException.java19 public class AuthenticationFailedException extends MessagingException {
23 super(MessagingException.AUTHENTICATION_FAILED, message); in AuthenticationFailedException()
31 super(MessagingException.AUTHENTICATION_FAILED, message, throwable); in AuthenticationFailedException()
DBody.java23 public InputStream getInputStream() throws MessagingException; in getInputStream()
25 public void writeTo(OutputStream out) throws IOException, MessagingException; in writeTo()
DBase64Body.java35 public InputStream getInputStream() throws MessagingException { in getInputStream()
49 throws IllegalStateException, IOException, MessagingException { in writeTo()
DCertificateValidationException.java19 public class CertificateValidationException extends MessagingException {
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java42 import com.android.voicemail.impl.mail.MessagingException;
192 } catch (MessagingException e) { in setFlags()
226 } catch (MessagingException e) { in fetchAllVoicemails()
239 MessageStructureWrapper messageStructureWrapper) throws MessagingException { in getVoicemailFromMessageStructure()
297 private MessageStructureWrapper fetchMessageStructure(Message message) throws MessagingException { in fetchMessageStructure()
327 } catch (MessagingException e) { in fetchVoicemailPayload()
339 private VoicemailPayload fetchVoicemailPayload(Message message) throws MessagingException { in fetchVoicemailPayload()
378 } catch (MessagingException e) { in fetchTranscription()
387 public int changePin(String oldPin, String newPin) throws MessagingException { in changePin()
402 public void changeVoicemailTuiLanguage(String languageCode) throws MessagingException { in changeVoicemailTuiLanguage()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
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()
182 private void doLogin() throws IOException, MessagingException, AuthenticationFailedException { in doLogin()
228 throw new MessagingException(alertText, ie); in doLogin()
232 private void doDigestMd5Auth() throws IOException, MessagingException { in doDigestMd5Auth()
282 private void queryCapability() throws IOException, MessagingException { in queryCapability()
[all …]
DImapFolder.java31 import com.android.voicemail.impl.mail.MessagingException;
90 public void open(String mode) throws MessagingException { in open()
119 } catch (MessagingException e) { in open()
138 } catch (MessagingException e) { in close()
171 String[] searchForUids(String searchCriteria) throws MessagingException { in searchForUids()
193 public Message getMessage(String uid) throws MessagingException { in getMessage()
216 public Message[] getMessages(String[] uids) throws MessagingException { in getMessages()
234 throws MessagingException { in fetch()
244 throws MessagingException { in fetchInternal()
360 } catch (MessagingException e) { in fetchInternal()
[all …]
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 {
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
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 …]
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()
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3Protocol.java40 import com.android.voicemail.impl.mail.MessagingException;
247 } catch (InitializingException | MessagingException | IOException e) { in startProvisionNewUser()
263 throws IOException, MessagingException { in setPin()
/packages/apps/Dialer/java/com/android/voicemail/impl/
DPinChangerImpl.java29 import com.android.voicemail.impl.mail.MessagingException;
59 } catch (InitializingException | MessagingException e) { in changePin()