Package com.sun.identity.sm
Class ServiceNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.identity.sm.SMSException
com.sun.identity.sm.ServiceNotFoundException
- All Implemented Interfaces:
com.sun.identity.shared.locale.L10NMessage
,Serializable
The
ServiceNotFoundException
is thrown if the service does not
exist.- 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
ConstructorDescriptionConstructs anServiceNotFoundException
with no specified detail message.Constructs anServiceNotFoundException
with the specified detail message.ServiceNotFoundException
(String rbName, String errCode, Object[] args) Constructs anServiceNotFoundException
with 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 Details
-
ServiceNotFoundException
public ServiceNotFoundException()Constructs anServiceNotFoundException
with no specified detail message. -
ServiceNotFoundException
Constructs anServiceNotFoundException
with the specified detail message.- Parameters:
s
- the detail message.
-
ServiceNotFoundException
Constructs anServiceNotFoundException
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 forResourceBundle.getString()
to locate error messageargs
- any arguments to be used for error message formattinggetMessage()
will construct error message using English resource bundle.
-