Home
last modified time | relevance | path

Searched refs:ParseException (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/util/
DTypedProperties.java81 public static class ParseException extends IllegalArgumentException { class in TypedProperties
82 ParseException(StreamTokenizer state, String expected) { in ParseException() method in TypedProperties.ParseException
141 static void parse(Reader r, Map<String, Object> map) throws ParseException, IOException { in parse()
161 throw new ParseException(st, "type name"); in parse()
165 throw new ParseException(st, "valid type name"); in parse()
173 throw new ParseException(st, "'('"); in parse()
180 throw new ParseException(st, "property name"); in parse()
184 throw new ParseException(st, "valid property name"); in parse()
192 throw new ParseException(st, "')'"); in parse()
199 throw new ParseException(st, "'='"); in parse()
[all …]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
DBluetoothMapBmessageParser.java36 import java.text.ParseException;
83 } catch (ParseException e) { in createBmessage()
91 private ParseException expected(Property... props) { in expected()
103 return new ParseException("Expected: " + sb.toString(), mParser.pos()); in expected()
106 private void parse(String str) throws IOException, ParseException { in parse()
153 private Property parseProperties() throws ParseException { in parseProperties()
199 private Property parseEnvelope(int level) throws IOException, ParseException { in parseEnvelope()
210 throw new ParseException("bEnvelope is nested more than 3 times", mParser.pos()); in parseEnvelope()
250 private Property parseBody() throws IOException, ParseException { in parseBody()
286 throw new ParseException("Invalid LENGTH value", mParser.pos()); in parseBody()
[all …]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipHelper.java29 import java.text.ParseException;
95 throws ParseException { in createFromHeader()
99 private ToHeader createToHeader(SipProfile profile) throws ParseException { in createToHeader()
104 throws ParseException { in createToHeader()
113 throws ParseException, InvalidArgumentException { in createCSeqHeader()
142 throws ParseException, SipException { in createViaHeaders()
153 throws ParseException, SipException { in createContactHeader()
158 String ip, int port) throws ParseException, in createContactHeader()
179 ListeningPoint lp) throws ParseException { in createSipUri()
184 String ip, int port) throws ParseException { in createSipUri()
[all …]
DSipSessionGroup.java45 import java.text.ParseException;
1720 } catch (ParseException e) {
/frameworks/webview/chromium/java/com/android/webview/chromium/
DCookieManagerAdapter.java19 import android.net.ParseException;
62 } catch (ParseException e) { in setCookie()
71 } catch (ParseException e) { in setCookie()
80 } catch (ParseException e) { in getCookie()
152 private static String fixupUrl(String url) throws ParseException { in fixupUrl()
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
DBmsgTokenizer.java21 import java.text.ParseException;
73 public Property next(boolean alwaysReturn) throws ParseException { in next()
84 throw new ParseException("Property or empty line expected", pos()); in next()
97 public Property next() throws ParseException { in next()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
DBmsgTokenizer.java21 import java.text.ParseException;
73 public Property next(boolean alwaysReturn) throws ParseException { in next()
84 throw new ParseException("Property or empty line expected", pos()); in next()
97 public Property next() throws ParseException { in next()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmSmsAddress.java20 import java.text.ParseException;
41 public GsmSmsAddress(byte[] data, int offset, int length) throws ParseException { in GsmSmsAddress()
53 throw new ParseException("Invalid TOA - high bit must be set. toa = " + toa, in GsmSmsAddress()
DSmsMessage.java35 import java.text.ParseException;
564 } catch (ParseException e) { in getAddress()
/frameworks/base/core/java/android/net/
DParseException.java23 public class ParseException extends RuntimeException { class
26 ParseException(String response) { in ParseException() method in ParseException
DWebAddress.java69 public WebAddress(String address) throws ParseException { in WebAddress()
97 throw new ParseException("Bad port"); in WebAddress()
113 throw new ParseException("Bad address"); in WebAddress()
DMailTo.java64 public static MailTo parse(String url) throws ParseException { in parse()
69 throw new ParseException("Not a mailto scheme"); in parse()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhoneFactory.java25 import java.text.ParseException;
44 } catch (ParseException e) { in makePhone()
DSipPhone.java43 import java.text.ParseException;
492 } catch (ParseException e) { in dial()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java25 import java.text.ParseException;
119 public Builder(String uriString) throws ParseException { in Builder()
127 throw new ParseException(uriString + " is not a SIP URI", 0); in Builder()
142 throws ParseException { in Builder()
300 } catch (ParseException e) { in build()
DSipManager.java28 import java.text.ParseException;
373 } catch (ParseException e) { in makeAudioCall()
/frameworks/base/core/java/android/widget/
DCalendarView.java32 import java.text.ParseException;
614 } catch (ParseException e) { in parseDate()
DDatePicker.java44 import java.text.ParseException;
995 } catch (ParseException e) { in parseDate()
/frameworks/base/core/java/android/net/http/
DHttpsConnection.java28 import org.apache.http.ParseException;
230 } catch (ParseException e) { in openConnection()
DConnection.java33 import org.apache.http.ParseException;
283 } catch (ParseException e) { in processRequests()
DRequestHandle.java19 import android.net.ParseException;
180 } catch (ParseException e) { in setupRedirect()
DRequest.java35 import org.apache.http.ParseException;
240 throws IOException, ParseException { in readResponse()
DAndroidHttpClientConnection.java49 import org.apache.http.ParseException;
299 throws IOException, ParseException { in parseResponseHeader()
DSslCertificate.java35 import java.text.ParseException;
310 } catch (ParseException e) { in parseDate()
/frameworks/base/core/java/android/webkit/
DURLUtil.java25 import android.net.ParseException;
71 } catch (ParseException ex) { in guessUrl()

12