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

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

Completed in 254 milliseconds