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

why exceptions extends scala.util.control.ControlThrowable? #90

Open
comefortest opened this issue Nov 13, 2013 · 0 comments
Open

why exceptions extends scala.util.control.ControlThrowable? #90

comefortest opened this issue Nov 13, 2013 · 0 comments

Comments

@comefortest
Copy link

The exceptions which extends scala.util.control.ControlThrowable, break out some scala control constructs, such as scalax.file.NotDirectoryException. When I use scala-io for something in a future, if a scalax.file.NotDirectoryException is thrown, then the "onComplete" of the generated future will not be triggered. scala.util.control.ControlThrowable, which is for BASIC control flows such as "IF-ELSE", "RETURN", "BREAK", "FUTRUEN", is not for scala-io.

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

No branches or pull requests

1 participant