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
H A DNdefMessage.java41 * @throws FormatException
43 public NdefMessage(byte[] data) throws FormatException {
46 throw new FormatException("Error while parsing NDEF message");
H A DNdefRecord.java201 * @throws FormatException if the data is not a valid NDEF record
203 public NdefRecord(byte[] data) throws FormatException {
212 throw new FormatException("Error while parsing NDEF record");
/frameworks/base/core/java/android/nfc/tech/
H A DNdefFormatable.java20 import android.nfc.FormatException;
92 * @throws FormatException if the NDEF Message to write is malformed
94 public void format(NdefMessage firstMessage) throws IOException, FormatException {
114 * @throws FormatException if the NDEF Message to write is malformed
116 public void formatReadOnly(NdefMessage firstMessage) throws IOException, FormatException {
121 FormatException {
134 throw new FormatException();
148 throw new FormatException();
H A DNdef.java20 import android.nfc.FormatException;
255 * @throws FormatException if the NDEF Message on the tag is malformed
257 public NdefMessage getNdefMessage() throws IOException, FormatException {
271 throw new FormatException();
299 * @throws FormatException if the NDEF Message to write is malformed
301 public void writeNdefMessage(NdefMessage msg) throws IOException, FormatException {
315 throw new FormatException();
/frameworks/base/core/java/android/pim/
H A DICalendar.java42 public static class FormatException extends Exception { class in class:ICalendar
43 public FormatException() { method in class:ICalendar.FormatException
47 public FormatException(String msg) { method in class:ICalendar.FormatException
51 public FormatException(String msg, Throwable cause) { method in class:ICalendar.FormatException
430 throws FormatException {
445 // FormatException will get thrown.
449 } catch (FormatException fe) {
469 throws FormatException {
485 throw new FormatException("Expected BEGIN");
503 throw new FormatException("Unexpecte
[all...]
/frameworks/base/core/tests/coretests/src/android/pim/
H A DRecurrenceSetTest.java64 throws ICalendar.FormatException {

Completed in 80 milliseconds