Inheritance diagram for org.openmobileis.common.util.exception.OpenMISException:
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
Definition at line 56 of file OpenMISException.java.
Public Member Functions | |
OpenMISException (String msg) | |
OpenMISException (String msg, int logPriority) | |
OpenMISException (String msg, Throwable t) | |
OpenMISException (String msg, Throwable t, int logPriority) | |
OpenMISException () | |
OpenMISException (int logPriority) | |
OpenMISException (Throwable t) | |
OpenMISException (Throwable t, int logPriority) | |
Throwable | getNestedError () |
final int | getPriority () |
void | printStackTrace () |
void | printStackTrace (PrintStream ps) |
void | printStackTrace (PrintWriter writer) |
abstract int | getService () |
return the service assocated to the exception | |
Static Package Attributes | |
static final long | serialVersionUID = 5521257935120563452L |
abstract int org.openmobileis.common.util.exception.OpenMISException.getService | ( | ) | [pure virtual] |
return the service assocated to the exception
Implemented in org.openmobileis.common.user.profil.ProfileNotFoundException, 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, org.openmobileis.database.fastobjectdb.db.exception.FODBException, org.openmobileis.embedded.webserver.templates.TemplateNotFoundException, and org.openmobileis.synchro.openmsp.OpenMSPException.
Referenced by org.openmobileis.common.util.exception.OpenMISException.printStackTrace(), and org.openmobileis.common.util.log.LogManager.trace().