Welcome, Guest! Log In | Create Account
Is there a way to implement checked exceptions on the subclassed version of a functor? The abstract fn method does not throw any checked exceptions so I think I'm stuck with throwing unchecked exceptions from the fn method.
no -- java does not allow a derived class to add checked exceptions to an overridden method. Unfortunately, you are stuck with unchecked exceptions.
This forum does not allow anonymous participation.
Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use