I know the differences between the two by reading some related text. But I am curious that why getCanonicalPath() throws checked exception while getAbsolutePath() does not throw any?
I know the differences between the two by reading some related text. But I
Share
It says why in the documentation for
getCanonicalPath: