org.apache.jackrabbit.name
Class UnknownPrefixException

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.UnknownPrefixException
All Implemented Interfaces:
Serializable

public class UnknownPrefixException
extends NameException

Thrown when a JCR name string with an unknown prefix is encountered. This exception is thrown when attempting to parse a JCR name string whose prefix is not bound to any namespace.

See Also:
Serialized Form

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

UnknownPrefixException

public UnknownPrefixException(String message)
Creates an UnknownPrefixException with the given error message.

Parameters:
message - error message

UnknownPrefixException

public UnknownPrefixException(String message,
                              Throwable rootCause)
Creates an IllegalNameException 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.