Searched refs:FormatException (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/nfc/
H A DFormatException.java19 public class FormatException extends Exception { class in inherits:Exception
20 public FormatException() { method in class:FormatException
24 public FormatException(String message) { method in class:FormatException
28 public FormatException(String message, Throwable e) { method in class:FormatException
H A DNdefRecord.java585 * @throws FormatException if the data cannot be parsed into a valid record
589 public NdefRecord(byte[] data) throws FormatException {
594 throw new FormatException("data too long");
730 } catch (FormatException e) { }
777 * Always returns 1 or more NdefRecord's, or throws FormatException.
782 * @throws FormatException on any parsing error
784 static NdefRecord[] parse(ByteBuffer buffer, boolean ignoreMbMe) throws FormatException {
807 throw new FormatException("expected MB flag");
809 throw new FormatException("unexpected MB flag");
811 throw new FormatException("unexpecte
[all...]
H A DNdefMessage.java78 * {@link FormatException} is thrown<p>
92 * @throws FormatException if the data cannot be parsed
94 public NdefMessage(byte[] data) throws FormatException {
101 throw new FormatException("trailing data");
/frameworks/base/core/java/android/nfc/tech/
H A DNdefFormatable.java20 import android.nfc.FormatException;
91 * @throws FormatException if the NDEF Message to write is malformed
93 public void format(NdefMessage firstMessage) throws IOException, FormatException {
113 * @throws FormatException if the NDEF Message to write is malformed
115 public void formatReadOnly(NdefMessage firstMessage) throws IOException, FormatException {
120 FormatException {
133 throw new FormatException();
152 throw new FormatException();
H A DNdef.java20 import android.nfc.FormatException;
263 * @throws FormatException if the NDEF Message on the tag is malformed
265 public NdefMessage getNdefMessage() throws IOException, FormatException {
303 * @throws FormatException if the NDEF Message to write is malformed
305 public void writeNdefMessage(NdefMessage msg) throws IOException, FormatException {
322 throw new FormatException();
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java41 public static class FormatException extends Exception { class in class:ICalendar
42 public FormatException() { method in class:ICalendar.FormatException
46 public FormatException(String msg) { method in class:ICalendar.FormatException
50 public FormatException(String msg, Throwable cause) { method in class:ICalendar.FormatException
429 throws FormatException {
444 // FormatException will get thrown.
448 } catch (FormatException fe) {
468 throws FormatException {
484 throw new FormatException("Expected BEGIN");
502 throw new FormatException("Unexpecte
[all...]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRecurrenceSetTest.java132 throws ICalendar.FormatException {

Completed in 769 milliseconds