Name

InvalidPropertiesFormatException

Synopsis

An exception of this type is thrown by Properties.loadFromXML( ) if the specified input stream does not contain appropriate XML.

java.util.InvalidPropertiesFormatException

Figure 16-35. java.util.InvalidPropertiesFormatException

public class InvalidPropertiesFormatException extends java.io.IOException {
// Public Constructors
     public InvalidPropertiesFormatException(String message);  
     public InvalidPropertiesFormatException(Throwable cause);  
}

Thrown By

Properties.loadFromXML( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.