public class NamespaceException extends RepositoryException
Session.setNamespacePrefix(String prefix, String uri)uri is not registered in the NamespaceRegistry| Constructor and Description | 
|---|
| NamespaceException()Constructs a new instance of this class with  nullas its detail message. | 
| NamespaceException(java.lang.String message)Constructs a new instance of this class with the specified detail message. | 
| NamespaceException(java.lang.String message, java.lang.Throwable rootCause)Constructs a new instance of this class with the specified detail message and root cause. | 
| NamespaceException(java.lang.Throwable rootCause)Constructs a new instance of this class with the specified root cause. | 
getCause, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTracepublic NamespaceException()
null as its detail message.public NamespaceException(java.lang.String message)
message - the detail message. The detail message is saved for later retrieval by the RepositoryException.getMessage() method.public NamespaceException(java.lang.String message,
                          java.lang.Throwable rootCause)
message - the detail message. The detail message is saved for later retrieval by the RepositoryException.getMessage() method.rootCause - root failure causepublic NamespaceException(java.lang.Throwable rootCause)
rootCause - root failure cause