Exception thrown when an attempt is made to register a node type that already exisits,
and allowUpdate has not been set to true.
since: JCR 2.0
Constructor Summary
public
NodeTypeExistsException() Constructs a new instance of this class with null as its
detail message.
public
NodeTypeExistsException(String message) Constructs a new instance of this class with the specified detail
message.
Parameters: message - the detail message.
public
NodeTypeExistsException(String message, Throwable rootCause) Constructs a new instance of this class with the specified detail
message and root cause.
Parameters: message - the detail message.
Constructs a new instance of this class with null as its
detail message.
NodeTypeExistsException
public NodeTypeExistsException(String message)(Code)
Constructs a new instance of this class with the specified detail
message.
Parameters: message - the detail message. The detail message is saved forlater retrieval by the NodeTypeExistsException.getMessage() method.
Constructs a new instance of this class with the specified detail
message and root cause.
Parameters: message - the detail message. The detail message is saved forlater retrieval by the NodeTypeExistsException.getMessage() method. Parameters: rootCause - root failure cause