[Zope-CVS] SVN: ldapadapter/trunk/exceptions.py Updated exceptions.py

Torsten Kurbad t.kurbad at iwm-kmrc.de
Sun Oct 10 10:16:57 EDT 2004


Log message for revision 27906:
  Updated exceptions.py
  
   URLFormatError morphed to URIParseError


Changed:
  U   ldapadapter/trunk/exceptions.py


-=-
Modified: ldapadapter/trunk/exceptions.py
===================================================================
--- ldapadapter/trunk/exceptions.py	2004-10-10 14:15:56 UTC (rev 27905)
+++ ldapadapter/trunk/exceptions.py	2004-10-10 14:16:57 UTC (rev 27906)
@@ -24,12 +24,11 @@
 from zope.schema._bootstrapinterfaces import ValidationError
 
 
-class URLFormatError(Exception):
+class URIParseError(Exception):
     """The given ldap uri is not valid."""
 
-LDAP_url_format_error = _(u'The uri is not a valid LDAP uri.')
+LDAP_uri_parse_error = _(u'The LDAP URI could not be parsed.')
 
 
-
 class InvalidLDAPURI(ValidationError):
     __doc__ = _("""The specified LDAP URI is not valid.""")



More information about the Zope-CVS mailing list