FileNotFoundException messages are too non-specific
Project: | JNode Core |
Component: | Code |
Category: | bug report |
Priority: | normal |
Assigned: | liyj |
Status: | active |
Jump to:
Description
For example, the FileNotFoundException messages I see for "cat > foo" amd "cat > jnode/missing-dir/foo" are the same. In the former case, the exception is happening because (it seems) it is illegal to create files in the root of the namespace. In the latter case, the exception is happening because of the missing directory.
The exception messages need to specify the root cause of the failure. Without this, commands have no chance of producing helpful error messages for the end user.
- Login to post comments
#1
I will try this one:)
#1
have you done something to fix that bug ?