Corey Puffalt created DELTASPIKE-750:
----------------------------------------

             Summary: No error message if the filename provided 
PropertyFileConfig implementation isn't found.
                 Key: DELTASPIKE-750
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-750
             Project: DeltaSpike
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 1.0.3
            Reporter: Corey Puffalt


As per summary, I have a simple PropertyFileConfig implementation class 
providing a configuration filename for the configuration module to pick up, but 
I've been frustrated by the lack of error handling because it just quietly 
ignores invalid/missing filenames instead of providing an error message.

Ideally, an issue like this would prevent bootstrapping and fail-fast with a 
relevant error message.

I'm not familiar enough with the code base to be sure but it looks to me like  
this should be fixed in PropertyFileUtils.resolvePropertyFiles() which should 
throw a FileNotFoundException if it doesn't find the given file on the 
classpath?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to