com.sun.identity.sm
Class ServiceAlreadyExistsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sun.identity.sm.SMSException
              extended bycom.sun.identity.sm.ServiceAlreadyExistsException
All Implemented Interfaces:
com.sun.identity.common.L10NMessage, java.io.Serializable

public class ServiceAlreadyExistsException
extends SMSException

The ServiceAlreadyExistsException is thrown if the service already exists.

See Also:
Exception, Throwable, Serialized Form

Field Summary
 
Fields inherited from class com.sun.identity.sm.SMSException
STATUS_ABORT, STATUS_CONFIG_PROBLEM, STATUS_LDAP_OP_FAILED, STATUS_NO_PERMISSION, STATUS_NONE, STATUS_QUO_ANTE, STATUS_REPEATEDLY_FAILED, STATUS_RETRY, STATUS_UNKNOWN_EXCEPTION
 
Constructor Summary
ServiceAlreadyExistsException()
          Constructs an ServiceAlreadyExistsException with no specified detail message.
ServiceAlreadyExistsException(java.lang.String msg)
          Constructs an ServiceAlreadyExistsException with the specified detail message.
ServiceAlreadyExistsException(java.lang.String rbName, java.lang.String errCode, java.lang.Object[] args)
          Constructs an ServiceAlreadyExistsException with the specified error code.
 
Methods inherited from class com.sun.identity.sm.SMSException
getErrorCode, getExceptionCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceAlreadyExistsException

public ServiceAlreadyExistsException()
Constructs an ServiceAlreadyExistsException with no specified detail message.


ServiceAlreadyExistsException

public ServiceAlreadyExistsException(java.lang.String msg)
Constructs an ServiceAlreadyExistsException with the specified detail message.

Parameters:
msg - the detail message.

ServiceAlreadyExistsException

public ServiceAlreadyExistsException(java.lang.String rbName,
                                     java.lang.String errCode,
                                     java.lang.Object[] args)
Constructs an ServiceAlreadyExistsException with the specified error code. It can be used to pass localized error message.

Parameters:
rbName - Resource Bundle name where localized error message is located.
errCode - error code or message id to be used for ResourceBundle.getString() to locate error message.
args - any arguments to be used for error message formatting getMessage() will construct error message using English resource bundle.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.