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.common.L10NMessage, java.io.Serializable
- public class ServiceNotFoundException
- extends SMSException
The ServiceNotFoundException
is thrown if the service does
not exist.
- See Also:
Exception
,
Throwable
, Serialized Form
Constructor Summary |
ServiceNotFoundException()
Constructs an ServiceNotFoundException with no specified detail message. |
ServiceNotFoundException(java.lang.String s)
Constructs an ServiceNotFoundException with the specified detail message. |
ServiceNotFoundException(java.lang.String rbName,
java.lang.String errCode,
java.lang.Object[] args)
Constructs an ServiceNotFoundException with
the specified error code. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServiceNotFoundException
public ServiceNotFoundException()
- Constructs an
ServiceNotFoundException
with no specified detail message.
ServiceNotFoundException
public ServiceNotFoundException(java.lang.String s)
- Constructs an
ServiceNotFoundException
with the specified detail message.
- Parameters:
s
- the detail message.
ServiceNotFoundException
public ServiceNotFoundException(java.lang.String rbName,
java.lang.String errCode,
java.lang.Object[] args)
- Constructs an
ServiceNotFoundException
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 messageargs
- any arguments to be used for error message formatting
getMessage()
will construct error message using
English resource bundle.