Package java.util
Class InvalidPropertiesFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.util.InvalidPropertiesFormatException
- All Implemented Interfaces:
Serializable
public class InvalidPropertiesFormatException extends IOException
An
InvalidPropertiesFormatException is thrown if loading the XML
document defining the properties does not follow the Properties
specification.
Even though this Exception inherits the Serializable interface, it is not
serializable. The methods used for serialization throw
NotSerializableExceptions.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InvalidPropertiesFormatException(String m)Constructs a newInvalidPropertiesFormatExceptionwith the current stack trace and message filled in.InvalidPropertiesFormatException(Throwable c)Constructs a newInvalidPropertiesFormatExceptionwith the cause for the Exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPropertiesFormatException
Constructs a newInvalidPropertiesFormatExceptionwith the current stack trace and message filled in.- Parameters:
m- the detail message for the exception.
-
InvalidPropertiesFormatException
Constructs a newInvalidPropertiesFormatExceptionwith the cause for the Exception.- Parameters:
c- the cause for the Exception.
-