Home
last modified time | relevance | path

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

12

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
DAddressListParser.java20 …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 …]
DAddressListParser.jj58 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 …]
DParseException.java28 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/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DDateTimeParser.java26 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 …]
DParseException.java28 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/ManagedProvisioning/src/com/android/managedprovisioning/
DMessageParser.java158 public ProvisioningParams parseIntent(Intent intent) throws ParseException { in parseIntent()
168 throws ParseException { in parseNfcIntent()
186 throw new ParseException( in parseNfcIntent()
195 throws ParseException { in parseProperties()
238 throw new ParseException("Couldn't load payload", in parseProperties()
241 throw new ParseException("Incorrect numberformat.", in parseProperties()
244 throw new ParseException("Invalid locale.", in parseProperties()
250 throws ParseException { in parseNonNfcIntent()
291 throw new ParseException("Extra " + EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE in parseNonNfcIntent()
304 throws ParseException { in checkValidityOfProvisioningParams()
[all …]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
DContentTypeParser.java34 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()
DParseException.java28 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/
DXmlParseUtils.java32 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/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
DContentTypeField.java33 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()
DAddressListField.java27 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()
DMailboxListField.java28 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()
DDateTimeField.java30 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()
DMailboxField.java29 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()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppParams.java20 import java.text.ParseException;
156 throws IllegalArgumentException, ParseException { in BluetoothMapAppParams()
172 private void ParseParams(final byte[] appParams) throws ParseException, in ParseParams()
584 public void setFilterPeriodBegin(String filterPeriodBegin) throws ParseException { in setFilterPeriodBegin()
604 public void setFilterPeriodEnd(String filterPeriodEnd) throws ParseException { in setFilterPeriodEnd()
810 public void setMseTime(String mseTime) throws ParseException { in setMseTime()
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java39 import java.text.ParseException;
201 public void testRecurrenceUntilToEasUntil() throws ParseException { in testRecurrenceUntilToEasUntil()
215 } catch (ParseException e) { in testRecurrenceUntilToEasUntil()
220 public void testParseEmailDateTimeToMillis(String date) throws ParseException { in testParseEmailDateTimeToMillis()
235 public void testParseDateTimeToMillis(String date) throws ParseException { in testParseDateTimeToMillis()
266 } catch (ParseException e) { in setupTestEventEntity()
296 } catch (ParseException e) { in setupTestExceptionEntity()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardBuilder.java41 import com.android.inputmethod.latin.utils.XmlParseUtils.ParseException;
405 throw new XmlParseUtils.ParseException( in parseGridRows()
409 throw new XmlParseUtils.ParseException( in parseGridRows()
478 throw new ParseException("Empty keySpec", parser); in parseKey()
578 throw new XmlParseUtils.ParseException( in parseMerge()
792 throw new XmlParseUtils.ParseException("<" + TAG_KEY_STYLE in parseKeyStyle()
DKeyStylesSet.java192 throw new XmlParseUtils.ParseException( in parseKeyStyleAttributes()
202 throws XmlParseUtils.ParseException { in getKeyStyle()
208 throw new XmlParseUtils.ParseException("Unknown key style: " + styleName, parser); in getKeyStyle()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java59 import java.text.ParseException;
229 public Date parse(String date) throws ParseException { in parse()
239 public static long parseDateTimeToMillis(String date) throws ParseException { in parseDateTimeToMillis()
256 public static GregorianCalendar parseDateTimeToCalendar(String date) throws ParseException { in parseDateTimeToCalendar()
281 public static long parseEmailDateTimeToMillis(String date) throws ParseException { in parseEmailDateTimeToMillis()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/
DDateTime.java23 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/apps/Exchange/src/com/android/exchange/adapter/
DCalendarSyncParser.java36 import java.text.ParseException;
451 } catch (ParseException e) { in addEvent()
458 } catch (ParseException e) { in addEvent()
804 } catch (ParseException e) { in exceptionParser()
826 } catch (ParseException e) { in exceptionParser()
833 } catch (ParseException e) { in exceptionParser()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityTest.java29 import java.text.ParseException;
54 } catch (ParseException e) { in testParseDateTimes()
79 } catch (ParseException e) { in testParseEmailDateTime()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DMimeMessageTest.java32 import java.text.ParseException;
80 public void testSetSentDate() throws MessagingException, ParseException { in testSetSentDate()
89 private void doTestSetSentDate() throws MessagingException, ParseException { in doTestSetSentDate()
/packages/apps/Email/src/com/android/email/mail/store/imap/
DImapString.java24 import java.text.ParseException;
133 } catch (ParseException e) { in isDate()
/packages/apps/Email/src/com/android/email/activity/
DEventViewer.java32 import java.text.ParseException;
70 } catch (ParseException e) { in onCreate()

12