Class IllegalNameException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.jcr.RepositoryException
-
- org.apache.jackrabbit.spi.commons.conversion.NameException
-
- org.apache.jackrabbit.spi.commons.conversion.IllegalNameException
-
- All Implemented Interfaces:
java.io.Serializable
public class IllegalNameException extends NameException
Thrown when an illegal JCR name string is encountered. This exception is thrown when attempting to parse a JCR name string that does not match the JCR name syntax, or is otherwise not a legal name. Note that anNamespaceException
is thrown if the prefix of the JCR name string is syntactically valid but not bound to any namespace.See the section 4.6 of the JCR 1.0 specification for details of the JCR name syntax.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalNameException(java.lang.String message)
Creates an IllegalNameException with the given error message.IllegalNameException(java.lang.String message, java.lang.Throwable rootCause)
Creates an IllegalNameException with the given error message and root cause exception.
-
-
-
Constructor Detail
-
IllegalNameException
public IllegalNameException(java.lang.String message)
Creates an IllegalNameException with the given error message.- Parameters:
message
- error message
-
IllegalNameException
public IllegalNameException(java.lang.String message, java.lang.Throwable rootCause)
Creates an IllegalNameException with the given error message and root cause exception.- Parameters:
message
- error messagerootCause
- root cause exception
-
-