if (smbe.getNtStatus() == SmbException.NT_STATUS_LOGON_FAILURE) {
throw new InvalidUserException(
"Please specify correct user name and password for " + path,
smbe);
} else if (smbe.getNtStatus() == SmbException.NT_STATUS_ACCESS_DENIED) {
throw new DocumentAccessException(
"Access denied for " + path, smbe);
} else if (smbe.getNtStatus() == SmbException.NT_STATUS_BAD_NETWORK_NAME) {
throw new DocumentNotFoundException(
"Path does not exist: " + path, smbe);
}