Fix error message
[lgpl/argeo-commons.git] / org.argeo.util / src / org / argeo / util / directory / ldap / AbstractLdapDirectory.java
index 28d8d081ccdcfb875e5ce8941086f01cc3be3c00..74dd15edec4c658ca9df5af3a3446e7b0cb1cf4e 100644 (file)
@@ -393,7 +393,7 @@ public abstract class AbstractLdapDirectory implements Directory, XAResourceProv
                        }
                        return name;
                } catch (InvalidNameException e) {
-                       throw new IllegalStateException("Cannot get role " + path, e);
+                       throw new IllegalStateException("Cannot convert " + path + " to LDAP name", e);
                }
 
        }