com.sun.identity.sm
Class ServiceNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.sun.identity.sm.SMSException
              extended bycom.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

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
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 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

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 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.