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

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
                  extended by org.apache.jackrabbit.spi.commons.conversion.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.
 
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

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