Code example for InvalidPreferencesFormatException

Methods: getCausegetMessage

0
        notes = "", 
        method = "InvalidPreferencesFormatException", 
        args = {java.lang.String.class}
    ) 
    public void testInvalidPreferencesFormatExceptionString() { 
        InvalidPreferencesFormatException e = new InvalidPreferencesFormatException(
        "msg"); 
        assertNull(e.getCause());
        assertEquals("msg", e.getMessage());
    } 
 
    /* 
     * Class under test for void InvalidPreferencesFormatException(String, 
     * Throwable) 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "InvalidPreferencesFormatException", 
        args = {java.lang.String.class, java.lang.Throwable.class}