/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.java | 20 …ee = new JJTAddressListParserState();public static void main(String args[]) throws ParseException { in main() 37 public ASTaddress_list parse() throws ParseException { in parse() 42 throw new ParseException(tme.getMessage()); in parse() 55 final public void parseLine() throws ParseException { in parseLine() 68 final public void parseAll() throws ParseException { in parseAll() 73 final public void address_list() throws ParseException { in address_list() 122 if (jjte000 instanceof ParseException) { in address_list() 123 {if (true) throw (ParseException)jjte000;} in address_list() 134 final public void address() throws ParseException { in address() 161 throw new ParseException(); in address() [all …]
|
D | AddressListParser.jj | 58 public static void main(String args[]) throws ParseException { 75 public ASTaddress_list parse() throws ParseException { 80 throw new ParseException(tme.getMessage()); 133 if (jjte000 instanceof ParseException) { 134 throw (ParseException)jjte000; 170 if (jjte000 instanceof ParseException) { 171 throw (ParseException)jjte000; 207 if (jjte000 instanceof ParseException) { 208 throw (ParseException)jjte000; 241 if (jjte000 instanceof ParseException) { [all …]
|
D | ParseException.java | 28 public class ParseException extends Exception { class 42 public ParseException(Token currentTokenVal, in ParseException() method in ParseException 64 public ParseException() { in ParseException() method in ParseException 69 public ParseException(String message) { in ParseException() method in ParseException
|
/packages/modules/NetworkStack/tests/unit/src/android/net/captiveportal/ |
D | CaptivePortalProbeSpecTest.java | 30 import java.text.ParseException; 37 public void testGetResult_Regex() throws MalformedURLException, ParseException { in testGetResult_Regex() 68 @Test(expected = ParseException.class) 69 public void testParseSpec_Empty() throws MalformedURLException, ParseException { in testParseSpec_Empty() 73 @Test(expected = ParseException.class) 74 public void testParseSpec_Null() throws MalformedURLException, ParseException { in testParseSpec_Null() 78 @Test(expected = ParseException.class) 79 public void testParseSpec_MissingParts() throws MalformedURLException, ParseException { in testParseSpec_MissingParts() 83 @Test(expected = ParseException.class) 84 public void testParseSpec_TooManyParts() throws MalformedURLException, ParseException { in testParseSpec_TooManyParts() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParser.java | 26 public static void main(String args[]) throws ParseException { in main() 115 final public DateTime parseLine() throws ParseException { in parseLine() 131 final public DateTime parseAll() throws ParseException { in parseAll() 139 final public DateTime date_time() throws ParseException { in date_time() 170 final public String day_of_week() throws ParseException { in day_of_week() 196 throw new ParseException(); in day_of_week() 202 final public Date date() throws ParseException { in date() 211 final public int day() throws ParseException { in day() 218 final public int month() throws ParseException { in month() 271 throw new ParseException(); in month() [all …]
|
D | ParseException.java | 28 public class ParseException extends Exception { class 42 public ParseException(Token currentTokenVal, in ParseException() method in ParseException 64 public ParseException() { in ParseException() method in ParseException 69 public ParseException(String message) { in ParseException() method in ParseException
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
D | BmessageParser.java | 34 import java.text.ParseException; 84 } catch (ParseException e) { in createBmessage() 92 private ParseException expected(Property... props) { in expected() 104 return new ParseException("Expected: " + sb.toString(), mParser.pos()); in expected() 107 private void parse(String str) throws IOException, ParseException { in parse() 150 private Property parseProperties() throws ParseException { in parseProperties() 193 private Property parseEnvelope(int level) throws IOException, ParseException { in parseEnvelope() 203 throw new ParseException("bEnvelope is nested more than 3 times", mParser.pos()); in parseEnvelope() 243 private Property parseBody() throws IOException, ParseException { in parseBody() 279 throw new ParseException("Invalid LENGTH value", mParser.pos()); in parseBody() [all …]
|
D | BmsgTokenizer.java | 21 import java.text.ParseException; 44 public Property next(boolean alwaysReturn) throws ParseException { in next() 55 throw new ParseException("Property or empty line expected", pos()); in next() 68 public Property next() throws ParseException { in next()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/incident/ |
D | ReportDetails.java | 46 public static class ParseException extends Exception { class in ReportDetails 47 public ParseException(String message) { in ParseException() method in ReportDetails.ParseException 51 public ParseException(String message, Throwable ex) { in ParseException() method in ReportDetails.ParseException 64 throws ParseException { in parseIncidentReport() 86 throw new ParseException("Error while reading stream.", ex); in parseIncidentReport() 88 throw new ParseException("Out of memory while loading incident report.", ex); in parseIncidentReport() 116 Resources res) throws ParseException { in parseImages() 133 throw new ParseException("Image count is greater than the limit of " in parseImages() 144 throw new ParseException("Unsupported image type " + mimeType); in parseImages()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | ContentTypeParser.java | 34 public static void main(String args[]) throws ParseException { in main() 46 final public void parseLine() throws ParseException { in parseLine() 59 final public void parseAll() throws ParseException { in parseAll() 64 final public void parse() throws ParseException { in parse() 87 final public void parameter() throws ParseException { in parameter() 97 final public String value() throws ParseException { in value() 109 throw new ParseException(); in value() 187 final private Token jj_consume_token(int kind) throws ParseException { in jj_consume_token() 229 public ParseException generateParseException() { in generateParseException() 259 return new ParseException(token, exptokseq, tokenImage); in generateParseException()
|
D | ParseException.java | 28 public class ParseException extends Exception { class 42 public ParseException(Token currentTokenVal, in ParseException() method in ParseException 64 public ParseException() { in ParseException() method in ParseException 69 public ParseException(String message) { in ParseException() method in ParseException
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | XmlParseUtils.java | 32 public static class ParseException extends XmlPullParserException { class in XmlParseUtils 33 public ParseException(final String msg, final XmlPullParser parser) { in ParseException() method in XmlParseUtils.ParseException 39 public static final class IllegalStartTag extends ParseException { 46 public static final class IllegalEndTag extends ParseException { 53 public static final class IllegalAttribute extends ParseException { 61 public static final class NonEmptyTag extends ParseException{ 80 throw new ParseException( in checkAttributeExists()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 825 public static class ParseException extends Exception { class in DhcpPacket 827 public ParseException(int errorCode, String msg, Object... args) { in ParseException() method in DhcpPacket.ParseException 843 static DhcpPacket decodeFullPacket(ByteBuffer packet, int pktType) throws ParseException in decodeFullPacket() 889 throw new ParseException(DhcpErrorEvent.L2_TOO_SHORT, in decodeFullPacket() 902 throw new ParseException(DhcpErrorEvent.L2_WRONG_ETH_TYPE, in decodeFullPacket() 909 throw new ParseException(DhcpErrorEvent.L3_TOO_SHORT, in decodeFullPacket() 916 throw new ParseException( in decodeFullPacket() 934 throw new ParseException( in decodeFullPacket() 961 throw new ParseException(DhcpErrorEvent.L4_WRONG_PORT, in decodeFullPacket() 968 throw new ParseException(DhcpErrorEvent.BOOTP_TOO_SHORT, in decodeFullPacket() [all …]
|
/packages/modules/NetworkStack/common/ |
D | CaptivePortalProbeSpec.java | 31 import java.text.ParseException; 63 public static CaptivePortalProbeSpec parseSpec(@NonNull String spec) throws ParseException, in parseSpec() 66 throw new ParseException("Empty probe spec", 0 /* errorOffset */); in parseSpec() 71 throw new ParseException("Probe spec does not have 3 parts", 0 /* errorOffset */); in parseSpec() 84 throws ParseException { in parsePatternIfNonEmpty() 91 throw new ParseException( in parsePatternIfNonEmpty() 106 } catch (ParseException | MalformedURLException e) { in parseSpecOrNull() 128 } catch (ParseException | MalformedURLException e) { in parseCaptivePortalProbeSpecs()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
D | AddressListField.java | 27 import org.apache.james.mime4j.field.address.parser.ParseException; 31 private ParseException parseException; 33 …Field(String name, String body, String raw, AddressList addressList, ParseException parseException… in AddressListField() 43 public ParseException getParseException() { in getParseException() 52 ParseException parseException = null; in parse() 56 catch (ParseException e) { in parse()
|
D | MailboxListField.java | 28 import org.apache.james.mime4j.field.address.parser.ParseException; 33 private ParseException parseException; 35 … String body, final String raw, final MailboxList mailboxList, final ParseException parseException… in MailboxListField() 45 public ParseException getParseException() { in getParseException() 54 ParseException parseException = null; in parse() 58 catch (ParseException e) { in parse()
|
D | DateTimeField.java | 30 import org.apache.james.mime4j.field.datetime.parser.ParseException; 36 private ParseException parseException; 38 …protected DateTimeField(String name, String body, String raw, Date date, ParseException parseExcep… in DateTimeField() 48 public ParseException getParseException() { in getParseException() 57 ParseException parseException = null; in parse() 64 catch (ParseException e) { in parse()
|
D | MailboxField.java | 29 import org.apache.james.mime4j.field.address.parser.ParseException; 33 private final ParseException parseException; 35 …e, final String body, final String raw, final Mailbox mailbox, final ParseException parseException… in MailboxField() 45 public ParseException getParseException() { in getParseException() 54 ParseException parseException = null; in parse() 61 catch (ParseException e) { in parse()
|
D | ContentTypeField.java | 33 import org.apache.james.mime4j.field.contenttype.parser.ParseException; 73 private ParseException parseException; 75 …g body, String raw, String mimeType, Map<String, String> parameters, ParseException parseException… in ContentTypeField() 86 public ParseException getParseException() { in getParseException() 212 ParseException parseException = null; in parse() 220 catch (ParseException e) { in parse() 230 parseException = new ParseException(e.getMessage()); in parse()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | WebAddress.java | 65 public WebAddress(String address) throws ParseException { in WebAddress() 91 throw new ParseException("Bad port"); in WebAddress() 107 throw new ParseException("Bad address"); in WebAddress() 138 public class ParseException extends Exception { class in WebAddress 141 ParseException(String response) { in ParseException() method in WebAddress.ParseException
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 36 import static android.net.dhcp.DhcpPacket.ParseException; 221 } catch (ParseException expected) { in assertLeaseTimeParses() 405 } catch (DhcpPacket.ParseException expected) { in testBadIpPacket() 424 } catch (DhcpPacket.ParseException expected) { in testBadDhcpPacket() 453 } catch (DhcpPacket.ParseException expected) { in testBadTruncatedOffer() 484 } catch (DhcpPacket.ParseException expected) { in testBadOfferWithoutACookie() 516 } catch (DhcpPacket.ParseException expected) { in testOfferWithBadCookie() 553 } catch (ParseException e) { in testTruncatedOfferPackets() 570 } catch (ParseException e) { in testRandomPackets() 886 } catch (ParseException expected) {} in testUdpInvalidDstPort()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAppParams.java | 24 import java.text.ParseException; 207 throws IllegalArgumentException, ParseException { in BluetoothMapAppParams() 224 throws ParseException, IllegalArgumentException { in parseParams() 866 public void setFilterPeriodBegin(String filterPeriodBegin) throws ParseException { in setFilterPeriodBegin() 886 public void setFilterLastActivityBegin(String filterPeriodBegin) throws ParseException { in setFilterLastActivityBegin() 910 public void setFilterPeriodEnd(String filterPeriodEnd) throws ParseException { in setFilterPeriodEnd() 926 public void setFilterLastActivityEnd(String filterPeriodEnd) throws ParseException { in setFilterLastActivityEnd() 1134 public void setLastActivity(String lastActivity) throws ParseException { in setLastActivity() 1380 public void setMseTime(String mseTime) throws ParseException { in setMseTime()
|
D | BluetoothMapConvoListing.java | 31 import java.text.ParseException; 140 throws XmlPullParserException, IOException, ParseException { in appendFromXml() 176 throws XmlPullParserException, IOException, ParseException { in readConversations()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
D | DateTime.java | 23 import org.apache.james.mime4j.field.datetime.parser.ParseException; 119 public static DateTime parse(String dateString) throws ParseException { in parse() 124 throw new ParseException(err.getMessage()); in parse()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyStylesSet.java | 192 throw new XmlParseUtils.ParseException( in parseKeyStyleAttributes() 207 throw new XmlParseUtils.ParseException( in parseKeyStyleAttributes() 219 throws XmlParseUtils.ParseException { in getKeyStyle() 226 throw new XmlParseUtils.ParseException("Unknown key style: " + styleName, parser); in getKeyStyle()
|