jet.server.api.exception
Class NodeExistsException

java.lang.Object
  extended by JSException
      extended by jet.server.api.exception.NodeExistsException

public class NodeExistsException
extends JSException

NodeExistsException throws when attempting to add a node into resource tree, but there is a existing node has same node name under same folder.


Constructor Summary
NodeExistsException(int msgKey)
          Construct a new NodeExistsException with specified message, the cause is not initialized.
NodeExistsException(int msgKey, java.lang.Object[] params, java.lang.Throwable cause)
          Constructs a new throwable with the specified detail message and cause.
NodeExistsException(int msgKey, java.lang.Throwable cause)
          Construct a new NodeExistsException with specified detail message and cause.
NodeExistsException(java.lang.String message)
           
NodeExistsException(java.lang.Throwable cause)
          Construct a new NodeExistsException with specified cause and a null detail message.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeExistsException

public NodeExistsException(int msgKey,
                           java.lang.Object[] params,
                           java.lang.Throwable cause)
Constructs a new throwable with the specified detail message and cause.

Parameters:
msgKey - the message key in strJError, for find the message, and will be loged and showed to user.
params - the parameters used for format the message string, can be null.
cause - the cause (which is saved for later retrieval by the getCause.

NodeExistsException

public NodeExistsException(int msgKey,
                           java.lang.Throwable cause)
Construct a new NodeExistsException with specified detail message and cause.

Parameters:
msgKey - the message key
cause - the cause. A null is permitted, and it indicates the cause is nonexistent or unknown.

NodeExistsException

public NodeExistsException(int msgKey)
Construct a new NodeExistsException with specified message, the cause is not initialized.

Parameters:
msgKey - the message key

NodeExistsException

public NodeExistsException(java.lang.Throwable cause)
Construct a new NodeExistsException with specified cause and a null detail message.

Parameters:
cause - the cause.

NodeExistsException

public NodeExistsException(java.lang.String message)