Added in API level 1

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(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.

InvalidPreferencesFormatException(Throwable cause)

Constructs an InvalidPreferencesFormatException with the specified cause.

Inherited methods

Public constructors

InvalidPreferencesFormatException

Added in API level 1
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

Added in API level 1
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).

InvalidPreferencesFormatException

Added in API level 1
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).