} catch (DfAuthenticationException e) {
throw new RepositoryLoginException(e);
} catch (DfPrincipalException e) {
throw new RepositoryLoginException(e);
} catch (DfServiceException e) {
throw new RepositoryException(e);
} catch (NoClassDefFoundError e) {
throw new RepositoryException(e);
}
return new DmSession(dfSession);
}