# Print output for @column tags ?> InvalidPreferencesFormatException - Android SDK | Android Developers

Most visited

Recently visited

InvalidPreferencesFormatException

public class InvalidPreferencesFormatException
extends Exception

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


Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of preferences, as per the Preferences specification.

See also:

Summary

Public constructors

InvalidPreferencesFormatException(Throwable cause)

Constructs an InvalidPreferencesFormatException with the specified cause.

InvalidPreferencesFormatException(String message)

Constructs an InvalidPreferencesFormatException with the specified detail message.

InvalidPreferencesFormatException(String message, Throwable cause)

Constructs an InvalidPreferencesFormatException with the specified detail message and cause.

Inherited methods

Public constructors

InvalidPreferencesFormatException

public InvalidPreferencesFormatException (Throwable cause)

Constructs an InvalidPreferencesFormatException with the specified cause.

Parameters
cause Throwable: the cause (which is saved for later retrieval by the Throwable#getCause() method).

InvalidPreferencesFormatException

public InvalidPreferencesFormatException (String message)

Constructs an InvalidPreferencesFormatException with the specified detail message.

Parameters
message String: the detail message. The detail message is saved for later retrieval by the Throwable#getMessage() method.

InvalidPreferencesFormatException

public InvalidPreferencesFormatException (String message, 
                Throwable cause)

Constructs an InvalidPreferencesFormatException with the specified detail message and cause.

Parameters
message String: the detail message. The detail message is saved for later retrieval by the Throwable#getMessage() method.

cause Throwable: the cause (which is saved for later retrieval by the Throwable#getCause() method).