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:
com.sun.identity.shared.locale.L10NMessage,Serializable
The
ServiceAlreadyExistsException is thrown if the service
already exists.- See Also:
-
Field Summary
Fields inherited from class com.sun.identity.sm.SMSException
SMS_ADMIN_LIMIT_EXCEEDED, SMS_AUTHENTICATION_ERROR, SMS_INSUFFICIENT_ACCESS_RIGHTS, SMS_LDAP_NOT_SUPPORTED, SMS_LDAP_OPERATION_FAILED, SMS_LDAP_REFERRAL_EXCEPTION, SMS_LDAP_SERVER_BUSY, SMS_NO_SUCH_OBJECT, SMS_SERVER_DOWN, SMS_TIME_LIMIT_EXCEEDED, SMS_UNEXPECTED_LDAP_EXCEPTION, SMS_UNKNOWN_EXCEPTION_OCCURRED, SMS_XML_PARSER_EXCEPTION, 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
ConstructorsConstructorDescriptionConstructs anServiceAlreadyExistsExceptionwith no specified detail message.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, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ServiceAlreadyExistsException
public ServiceAlreadyExistsException()Constructs anServiceAlreadyExistsExceptionwith no specified detail message. -
ServiceAlreadyExistsException
Constructs anServiceAlreadyExistsExceptionwith the specified detail message.- Parameters:
msg- the detail message.
-
ServiceAlreadyExistsException
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.
-