Code example for FactoryConfigurationError

Methods: getCause, getLocalizedMessage

0
        notes = "", 
        method = "FactoryConfigurationError", 
        args = {} 
    ) 
    public void test_Constructor() { 
        FactoryConfigurationError fce = new FactoryConfigurationError();
        assertNull(fce.getMessage());
        assertNull(fce.getLocalizedMessage());
        assertNull(fce.getCause());
    } 
 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "FactoryConfigurationError", 
        args = {java.lang.Exception.class}
    ) 
    public void test_ConstructorLjava_lang_Exception() { 
        Exception e = new Exception();
        // case 1: Try to create FactoryConfigurationError 
        // which is based on Exception without parameters.