org.apache.jackrabbit.name
Class MalformedPathException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.jackrabbit.BaseException
              extended byorg.apache.jackrabbit.name.NameException
                  extended byorg.apache.jackrabbit.name.MalformedPathException
All Implemented Interfaces:
Serializable

public class MalformedPathException
extends NameException

Thrown when a malformed JCR path string is encountered. This exception is thrown when attempting to parse a JCR path string that does not match the JCR patch syntax, contains an invalid path elements, or is otherwise not well formed.

See the section 4.6 of the JCR 1.0 specification for details of the JCR path syntax.

See Also:
Serialized Form

Constructor Summary
MalformedPathException(String message)
          Creates a MalformedPathException with the given error message.
MalformedPathException(String message, Throwable rootCause)
          Creates a MalformedPathException 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

MalformedPathException

public MalformedPathException(String message)
Creates a MalformedPathException with the given error message.

Parameters:
message - error message

MalformedPathException

public MalformedPathException(String message,
                              Throwable rootCause)
Creates a MalformedPathException 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.