to top
Android APIs
public class

InvalidPreferencesFormatException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.util.prefs.InvalidPreferencesFormatException

Class Overview

An exception to indicate that the input XML file is not well-formed or could not be validated against the appropriate document type (specified by in the Preferences).

Summary

Public Constructors
InvalidPreferencesFormatException( String s)
Constructs a new InvalidPreferencesFormatException instance with a detailed exception message.
InvalidPreferencesFormatException( String s, Throwable t)
Constructs a new InvalidPreferencesFormatException instance with a detailed exception message and a nested Throwable.
InvalidPreferencesFormatException( Throwable t)
Constructs a new InvalidPreferencesFormatException instance with a nested Throwable.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InvalidPreferencesFormatException (String s)

Added in API level 1

Constructs a new InvalidPreferencesFormatException instance with a detailed exception message.

Parameters
s the detailed exception message.

public InvalidPreferencesFormatException (String s, Throwable t)

Added in API level 1

Constructs a new InvalidPreferencesFormatException instance with a detailed exception message and a nested Throwable.

Parameters
s the detailed exception message.
t the nested Throwable.

public InvalidPreferencesFormatException (Throwable t)

Added in API level 1

Constructs a new InvalidPreferencesFormatException instance with a nested Throwable.

Parameters
t the nested Throwable.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.