com.ibm.portal
Interface LocalizedStatus

All Superinterfaces:
Localized
All Known Implementing Classes:
AccessControlFailedException, EntityDeletedException, EntityNotFoundException, IconNotFoundException, InvalidParameterException, LocalizedIOException, LocalizedSAXException, LocalizedTransformerException, MessageCodeIOException, MessageCodeResolutionException, MessageCodeSAXException, MessageCodeTransformerException, ObjectIDDeletedException, ObjectIDMissingException, ObjectIDNotFoundException, RedirectResolutionException, ResolutionException, ResolutionProxyException, ResolutionSerializationException, ResolutionTimeoutException, ResourceDeletedException, ResourceNotFoundException, ResourceNotFoundException, ServiceHandlerNotFoundException, ServiceNotAvailableException, ServiceNotFoundException, URINotFoundException

public interface LocalizedStatus
extends Localized

Interface that can be used to communicate status code information via exceptions. In order to communicate this code, make your exception instance implement this interface.

Note:
This interface is designed to be implemented by clients.

Method Summary
 int getStatus()
          Returns a status code that can be evaluated by the handler of the exception implementing LocalizedStatus.
 
Methods inherited from interface com.ibm.portal.Localized
getDescription, getLocales, getTitle
 

Method Detail

getStatus

int getStatus()
Returns a status code that can be evaluated by the handler of the exception implementing LocalizedStatus. It is up to the handler of the exception how to interpret the status code.

Returns:
a status code