org.apache.jackrabbit.name
Class NameException

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

public class NameException
extends org.apache.jackrabbit.BaseException

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

See Also:
Serialized Form

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.
 
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)
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-2006 The Apache Software Foundation. All Rights Reserved.