Class MalformedPathException

  • All Implemented Interfaces:
    java.io.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 path syntax, contains an invalid path element, 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

      Constructors 
      Constructor Description
      MalformedPathException​(java.lang.String message)
      Creates a MalformedPathException with the given error message.
      MalformedPathException​(java.lang.String message, java.lang.Throwable rootCause)
      Creates a MalformedPathException with the given error message and root cause exception.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MalformedPathException

        public MalformedPathException​(java.lang.String message)
        Creates a MalformedPathException with the given error message.
        Parameters:
        message - error message
      • MalformedPathException

        public MalformedPathException​(java.lang.String message,
                                      java.lang.Throwable rootCause)
        Creates a MalformedPathException with the given error message and root cause exception.
        Parameters:
        message - error message
        rootCause - root cause exception