APISonar


java.util.InvalidPropertiesFormatException.InvalidPropertiesFormatException

> java > util > InvalidPropertiesFormatException > InvalidPropertiesFormatException
java APIs util APIs InvalidPropertiesFormatException APIs InvalidPropertiesFormatException APIs

Example 1
public void test_Serialization() throws Exception {
        InvalidPropertiesFormatException ipfe = new InvalidPropertiesFormatException(
                "Hey, this is InvalidPropertiesFormatException");
        try {
            SerializationTest.verifySelf(ipfe);
        } catch (NotSerializableException e) {
            // expected
        }
    }
Example 2
public void validateConfigurations() throws InvalidPropertiesFormatException {
        String blacklistVars = prop.getProperty(MMS_BLACKLIST_ENV_VARS, "");
        try {
            blacklistPattern = Pattern.compile(blacklistVars);
        } catch (PatternSyntaxException e) {
            throw new InvalidPropertiesFormatException(e);
        }
    }