org.apache.jackrabbit.name
Class NoPrefixDeclaredException

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

public class NoPrefixDeclaredException
extends NameException

Thrown when the namespace prefix of a qualified name is not found. This exception is thrown when trying to convert a qualified name whose namespace prefix is not found into a JCR name string. The JCR name string can not be created without the namespace prefix.

See Also:
Serialized Form

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

NoPrefixDeclaredException

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

Parameters:
message - error message

NoPrefixDeclaredException

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