Package com.sun.identity.sm
Class ServiceAlreadyExistsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.identity.sm.SMSException
-
- com.sun.identity.sm.ServiceAlreadyExistsException
-
- All Implemented Interfaces:
L10NMessage,Serializable
public class ServiceAlreadyExistsException extends SMSException
TheServiceAlreadyExistsExceptionis 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_NOT_ALLOW, STATUS_QUO_ANTE, STATUS_REPEATEDLY_FAILED, STATUS_RETRY, STATUS_UNKNOWN_EXCEPTION
-
-
Constructor Summary
Constructors Constructor Description ServiceAlreadyExistsException()Constructs anServiceAlreadyExistsExceptionwith no specified detail message.ServiceAlreadyExistsException(String msg)Constructs anServiceAlreadyExistsExceptionwith the specified detail message.ServiceAlreadyExistsException(String rbName, String errCode, Object[] args)Constructs anServiceAlreadyExistsExceptionwith the specified error code.
-
Method Summary
-
Methods inherited from class com.sun.identity.sm.SMSException
getErrorCode, getExceptionCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ServiceAlreadyExistsException
public ServiceAlreadyExistsException()
Constructs anServiceAlreadyExistsExceptionwith no specified detail message.
-
ServiceAlreadyExistsException
public ServiceAlreadyExistsException(String msg)
Constructs anServiceAlreadyExistsExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
ServiceAlreadyExistsException
public ServiceAlreadyExistsException(String rbName, String errCode, Object[] args)
Constructs anServiceAlreadyExistsExceptionwith 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 forResourceBundle.getString()to locate error message.args- any arguments to be used for error message formattinggetMessage()will construct error message using English resource bundle.
-
-