Class NameException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.jcr.RepositoryException
-
- org.apache.jackrabbit.spi.commons.conversion.NameException
-
- All Implemented Interfaces:
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(String message)
Creates a NameException with the given error message.NameException(String message, Throwable rootCause)
Creates a NameException with the given error message and root cause exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NameException
public NameException(String message)
Creates a NameException with the given error message.- Parameters:
message
- error message
-
-