+

Search Tips   |   Advanced Search

 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.ibm.portal.resolver.exceptions
Class ServiceHandlerNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.portal.resolver.exceptions.ResolutionException
              extended by com.ibm.portal.resolver.exceptions.EntityNotFoundException
                  extended by com.ibm.portal.resolver.exceptions.ServiceNotFoundException
                      extended by com.ibm.portal.resolver.exceptions.ServiceHandlerNotFoundException
All Implemented Interfaces:
Localized, LocalizedStatus, Addressable, Constants, java.io.Serializable
Direct Known Subclasses:
ServiceNotAvailableException
public class ServiceHandlerNotFoundException
extends ServiceNotFoundException
implements Addressable

A COR service handler for a particular URI could not be found

Since:
7.0
See Also:
Serialized Form

Field Summary
protected  java.net.URI pocURI
          POC URI that could not be decoded
 
Fields inherited from class com.ibm.portal.resolver.exceptions.ServiceNotFoundException
service
 
Fields inherited from interface com.ibm.portal.resolver.data.Addressable
EMPTY_PARAMETERS
 
Fields inherited from interface com.ibm.portal.resolver.exceptions.Constants
SC_BAD_REQUEST, SC_GONE, SC_INTERNAL_SERVER_ERROR, SC_NOT_FOUND, SC_REQUEST_TIMEOUT, SC_SERVICE_UNAVAILABLE, SC_UNAUTHORIZED
 
Constructor Summary
ServiceHandlerNotFoundException(java.lang.Class<?> aService, java.net.URI aPocURI)
           
ServiceHandlerNotFoundException(java.lang.Class<?> aService, java.net.URI aPocURI, java.lang.Throwable aCause)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String[]> getParameters()
           Returns an potentially unmodifiable version of the parameters used to address the object, never null, but potentially the empty map.
 java.net.URI getPocURI()
           
 java.lang.String getTitle(java.util.Locale aLocale)
          Return the title of this object in the given locale.
 java.net.URI getURI()
          Return the unique identifier of the object.
 
Methods inherited from class com.ibm.portal.resolver.exceptions.ServiceNotFoundException
getEntity, getService, getStatus
 
Methods inherited from class com.ibm.portal.resolver.exceptions.ResolutionException
findLocalized, findLocalizedStatus, getDescription, getLocales, getLocalized, getLocalized, getLocalizedMessage, getLocalizedStatus, getMessage, getTitle
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pocURI

protected final java.net.URI pocURI
POC URI that could not be decoded

Constructor Detail

ServiceHandlerNotFoundException

public ServiceHandlerNotFoundException(java.lang.Class<?> aService,
                                       java.net.URI aPocURI)

ServiceHandlerNotFoundException

public ServiceHandlerNotFoundException(java.lang.Class<?> aService,
                                       java.net.URI aPocURI,
                                       java.lang.Throwable aCause)
Method Detail

getPocURI

public java.net.URI getPocURI()
Returns:
Returns the pocURI.

getTitle

public java.lang.String getTitle(java.util.Locale aLocale)
Description copied from interface: Localized
Returns the title of this object in the given locale.

Specified by:
getTitle in interface Localized
Overrides:
getTitle in class ServiceNotFoundException
Parameters:
aLocale - the locale for which to retrieve the title, must not be null.
Returns:
the title of this node in the given locale. If a title is not available in the given locale, this method will return null. It is up to the invoker of the method to implement an appropriate fallback mechanism.

getURI

public java.net.URI getURI()
Description copied from interface: Addressable
Returns the unique identifier of the object. The URI must contain valid scheme information and cannot be just a relative URL.

Specified by:
getURI in interface Addressable
Returns:
URI of the object, never null.

getParameters

public java.util.Map<java.lang.String,java.lang.String[]> getParameters()
Description copied from interface: Addressable

Returns an potentially unmodifiable version of the parameters used to address the object, never null, but potentially the empty map.

The key is of type String, the values of type String[]

Specified by:
getParameters in interface Addressable
Returns:
parameter map
 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD