org.modeshape.jcr.nodetype
Class NodeTypeExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.jcr.RepositoryException
javax.jcr.nodetype.NodeTypeExistsException
org.modeshape.jcr.nodetype.NodeTypeExistsException
- All Implemented Interfaces:
- Serializable
@Immutable
public class NodeTypeExistsException
- extends NodeTypeExistsException
An exception that captures the error condition that a referenced node type already exists.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NodeTypeExistsException
public NodeTypeExistsException(Name nodeType)
- Parameters:
nodeType
- the name of the existing node type
NodeTypeExistsException
public NodeTypeExistsException(Name nodeType,
String message,
Throwable rootCause)
- Parameters:
nodeType
- the name of the existing node typemessage
- rootCause
-
NodeTypeExistsException
public NodeTypeExistsException(Name nodeType,
String message)
- Parameters:
nodeType
- the name of the existing node typemessage
-
NodeTypeExistsException
public NodeTypeExistsException(Name nodeType,
Throwable rootCause)
- Parameters:
nodeType
- the name of the existing node typerootCause
-
getNodeType
public Name getNodeType()
- Get the name of the existing node type.
- Returns:
- the existing node type name
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.