Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FeatureFileDumper doesn't rethrow exceptions #17

Open
davidmoten opened this issue Jan 12, 2015 · 1 comment
Open

FeatureFileDumper doesn't rethrow exceptions #17

davidmoten opened this issue Jan 12, 2015 · 1 comment

Comments

@davidmoten
Copy link

Why are expections not being wrapped in a RuntimeException and being rethrown?

public FeatureFileDumper(ConfigurationManager cm, String frontEndName)
            throws IOException {
        try {
            frontEnd = (FrontEnd) cm.lookup(frontEndName);
            audioSource = (StreamDataSource) cm.lookup("streamDataSource");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
@davidmoten
Copy link
Author

the method getAllFeatures needs the same treatment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant