2011-09-11 22 views

risposta

14

Ma io sono curioso che il motivo per cui getCanonicalPath() tiri verificata un'eccezione durante getAbsolutePath() non genera alcuna?

Si dice per questo che in the documentation for getCanonicalPath:

IOException - Se si verifica un errore di I/O, che è possibile perché la costruzione del percorso canonico può richiedere filesystem interroga

Problemi correlati