You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What if we eliminate LibraryNotFoundException, MountFailedException, UnmountFailedException and just use DokanyException - they are all essentially the same? This would shrink the dokan-java API surface further, but would probably need to be a major new version, as it is not backward compatible..
The text was updated successfully, but these errors were encountered:
I'll agree with you, that the exceptions need a refactoring.
I like the suggestion made in this SO post to create an own exception class and either wrap all occuring exceptions or extend from this base class. Especially in the second case the developer can catch more specific exceptions if they want to, or just catch the generic one.
What if we eliminate LibraryNotFoundException, MountFailedException, UnmountFailedException and just use DokanyException - they are all essentially the same? This would shrink the dokan-java API surface further, but would probably need to be a major new version, as it is not backward compatible..
The text was updated successfully, but these errors were encountered: