google.appengine.api.namespace_manager provides the following exception class:
- exception BadValueError
- Raised by the validate_namespace() method when the namespace string is not valid. To be valid, namespace strings must match the regular expression
([0-9A-Za-z._-]{0,100}).