Class NameException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.jcr.RepositoryException
-
- org.apache.jackrabbit.spi.commons.conversion.NameException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
IllegalNameException
,MalformedPathException
public class NameException extends RepositoryException
Base class for exceptions about malformed or otherwise invalid JCR names and paths.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NameException(java.lang.String message)
Creates a NameException with the given error message.NameException(java.lang.String message, java.lang.Throwable rootCause)
Creates a NameException with the given error message and root cause exception.
-
-
-
Constructor Detail
-
NameException
public NameException(java.lang.String message)
Creates a NameException with the given error message.- Parameters:
message
- error message
-
NameException
public NameException(java.lang.String message, java.lang.Throwable rootCause)
Creates a NameException with the given error message and root cause exception.- Parameters:
message
- error messagerootCause
- root cause exception
-
-