org.openmobileis.common.util.exception
Class DatabaseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.openmobileis.common.util.exception.OpenMISException
              extended byorg.openmobileis.common.util.exception.DefaultException
                  extended byorg.openmobileis.common.util.exception.DatabaseException
All Implemented Interfaces:
OpenMISSerializable, java.io.Serializable
Direct Known Subclasses:
FODBException

public class DatabaseException
extends DefaultException

Specific exception for database error

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu
See Also:
Serialized Form

Constructor Summary
DatabaseException()
           
DatabaseException(int priority)
           
DatabaseException(java.lang.String msg)
           
DatabaseException(java.lang.String msg, int priority)
           
DatabaseException(java.lang.String msg, java.lang.Throwable t)
           
DatabaseException(java.lang.String msg, java.lang.Throwable t, int priority)
           
DatabaseException(java.lang.Throwable t)
           
DatabaseException(java.lang.Throwable t, int priority)
           
 
Method Summary
 int getService()
          return the default service id : LogServices.DEFAULTSERVICE
 
Methods inherited from class org.openmobileis.common.util.exception.OpenMISException
getNestedError, getPriority, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseException

public DatabaseException()

DatabaseException

public DatabaseException(int priority)

DatabaseException

public DatabaseException(java.lang.String msg)

DatabaseException

public DatabaseException(java.lang.String msg,
                         int priority)

DatabaseException

public DatabaseException(java.lang.String msg,
                         java.lang.Throwable t)

DatabaseException

public DatabaseException(java.lang.String msg,
                         java.lang.Throwable t,
                         int priority)

DatabaseException

public DatabaseException(java.lang.Throwable t)

DatabaseException

public DatabaseException(java.lang.Throwable t,
                         int priority)
Method Detail

getService

public int getService()
Description copied from class: DefaultException
return the default service id : LogServices.DEFAULTSERVICE

Overrides:
getService in class DefaultException
Returns:
int LogServices.DEFAULTSERVICE
See Also:
LogServices


Copyright 2006 OpenMobileIS. All Rights Reserved.