org.openmobileis.common.util.exception.OpenMISException Class Reference

Inheritance diagram for org.openmobileis.common.util.exception.OpenMISException:

org.openmobileis.common.user.profile.ProfileNotFoundException org.openmobileis.common.user.UserAlreadyExistException org.openmobileis.common.user.UserNotFoundException org.openmobileis.common.util.exception.DefaultException org.openmobileis.common.util.exception.ServerException org.openmobileis.common.util.exception.ServiceException org.openmobileis.common.util.exception.SynchroException org.openmobileis.embedded.webserver.templates.TemplateNotFoundException

List of all members.


Detailed Description

The root class of all exceptions for Java OpenMobileIS developement.

Usage Note : exception can be created from a message, an another exeption (in this case the other exception become nested) with or without a priority code. The priority code correspond to the org.openmobileis.common.util.log.LogPriorities class defined code. Default priority code is LogPriorities.ERROR. To facilitate exception log a default service and priority is defined. A Service can be associated to an exception. It can be a good practice to identify the part of the program that throws the exception during exception log. Default services are defined in the class org.openmobileis.common.util.log.LogServices

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.
See also:
org.openmobileis.common.util.exception.DefaultException

Definition at line 56 of file OpenMISException.java.


Public Member Functions

abstract int getService ()
 return the service assocated to the exception

Member Function Documentation

abstract int org.openmobileis.common.util.exception.OpenMISException.getService (  )  [pure virtual]

return the service assocated to the exception

Returns:
int the service int identified associated with the execption
See also:
org.openmobileis.common.util.log.LogServices

Implemented in org.openmobileis.common.user.profile.ProfileNotFoundException, org.openmobileis.common.user.UserAlreadyExistException, org.openmobileis.common.user.UserNotFoundException, org.openmobileis.common.util.exception.BadDataFormatException, org.openmobileis.common.util.exception.DatabaseException, org.openmobileis.common.util.exception.DefaultException, org.openmobileis.common.util.exception.ServerException, org.openmobileis.common.util.exception.ServiceException, org.openmobileis.common.util.exception.SynchroException, and org.openmobileis.embedded.webserver.templates.TemplateNotFoundException.


The documentation for this class was generated from the following file:
Generated on Mon Jan 14 17:29:52 2008 for OpenMobileIS by  doxygen 1.5.4