org.apache.jackrabbit.spi.commons.conversion
Class NameException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jcr.RepositoryException
              extended by 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

Field Summary
 
Fields inherited from class javax.jcr.RepositoryException
rootCause
 
Constructor Summary
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 javax.jcr.RepositoryException
getCause, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.