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

12

/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;
512 } 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/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/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessageParser.java37 import java.text.ParseException;
89 } catch (ParseException e) {
97 private ParseException expected(Property... props) {
109 return new ParseException("Expected: " + sb.toString(), mParser.pos());
112 private void parse(String str) throws IOException, ParseException {
159 private Property parseProperties() throws ParseException {
205 private Property parseEnvelope(int level) throws IOException, ParseException {
216 throw new ParseException("bEnvelope is nested more than 3 times", mParser.pos());
256 private Property parseBody() throws IOException, ParseException {
292 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...]
/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;
390 } catch (ParseException e) {
/frameworks/base/services/net/java/android/net/dhcp/
H A DDhcpPacket.java711 public static class ParseException extends Exception { class in class:DhcpPacket
713 public ParseException(int errorCode, String msg, Object... args) { method in class:DhcpPacket.ParseException
728 public static DhcpPacket decodeFullPacket(ByteBuffer packet, int pktType) throws ParseException
771 throw new ParseException(DhcpErrorEvent.L2_TOO_SHORT,
784 throw new ParseException(DhcpErrorEvent.L2_WRONG_ETH_TYPE,
791 throw new ParseException(DhcpErrorEvent.L3_TOO_SHORT,
798 throw new ParseException(
816 throw new ParseException(
843 throw new ParseException(DhcpErrorEvent.L4_WRONG_PORT,
850 throw new ParseException(DhcpErrorEven
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DDeviceInfoUtils.java32 import java.text.ParseException;
163 } 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.java38 import java.text.ParseException;
765 } catch (ParseException e) {
H A DDatePickerSpinnerDelegate.java38 import java.text.ParseException;
503 } catch (ParseException e) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DDatePicker.java25 import java.text.ParseException;
112 } catch (ParseException e) {
/frameworks/base/core/java/android/net/http/
H A DSslCertificate.java37 import java.text.ParseException;
312 } catch (ParseException e) {
/frameworks/base/core/java/android/security/net/config/
H A DXmlConfigSource.java17 import java.text.ParseException;
146 } catch (ParseException e) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCamera2SurfaceViewTestCase.java58 import java.text.ParseException;
790 } catch (ParseException e) {
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
H A DDhcpPacketTest.java179 } catch (ParseException expected) {
650 fail("Packet with invalid dst port did not throw ParseException");
651 } catch (ParseException expected) {}
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DMOManager.java32 import java.text.ParseException;
981 } catch (ParseException pe) {
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DPasspointManagementObjectManager.java31 import java.text.ParseException;
940 } catch (ParseException pe) {

Completed in 630 milliseconds

12