org.apache.jackrabbit.name
Class NameException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.jackrabbit.BaseException
              extended by org.apache.jackrabbit.name.NameException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IllegalNameException, MalformedPathException, NoPrefixDeclaredException, UnknownPrefixException

Deprecated. Use the NameException class from the org.apache.jackrabbit.spi.commons.conversion package of the jackrabbit-spi-commons component.

public class NameException
extends BaseException

Base class for exceptions about malformed or otherwise invalid JCR names and paths.

See Also:
Serialized Form

Constructor Summary
NameException(String message)
          Deprecated. Creates a NameException with the given error message.
NameException(String message, Throwable rootCause)
          Deprecated. Creates a NameException with the given error message and root cause exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, 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)
Deprecated. 
Creates a NameException with the given error message.

Parameters:
message - error message

NameException

public NameException(String message,
                     Throwable rootCause)
Deprecated. 
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.