![JAR search and dependency download from the Maven repository](/logo.png)
javax.jcr.NamespaceException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcr Show documentation
Show all versions of jcr Show documentation
The Content Repository API for JavaTM Technology Version 2.0 is specified by JSR-283.
This module contains the complete API as specified.
The newest version!
/*
* Copyright 2009 Day Management AG, Switzerland. All rights reserved.
*/
package javax.jcr;
/**
* Exception thrown by {@link Session#setNamespacePrefix(String prefix,
* String uri)}
if the specified uri
is not registered in
* the {@link NamespaceRegistry}.
*/
public class NamespaceException extends RepositoryException {
/**
* Constructs a new instance of this class with null
as its
* detail message.
*/
public NamespaceException() {
super();
}
/**
* Constructs a new instance of this class with the specified detail
* message.
*
* @param message the detail message. The detail message is saved for later
* retrieval by the {@link #getMessage()} method.
*/
public NamespaceException(String message) {
super(message);
}
/**
* Constructs a new instance of this class with the specified detail message
* and root cause.
*
* @param message the detail message. The detail message is saved for later
* retrieval by the {@link #getMessage()} method.
* @param rootCause root failure cause
*/
public NamespaceException(String message, Throwable rootCause) {
super(message, rootCause);
}
/**
* Constructs a new instance of this class with the specified root cause.
*
* @param rootCause root failure cause
*/
public NamespaceException(Throwable rootCause) {
super(rootCause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy