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:
  • Constructor Details

    • NameException

      public NameException(String message)
      Creates a NameException with the given error message.
      Parameters:
      message - error message
    • NameException

      public NameException(String message, Throwable rootCause)
      Creates a NameException with the given error message and root cause exception.
      Parameters:
      message - error message
      rootCause - root cause exception