org.openmobileis.common.util.exception
Class DefaultException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.openmobileis.common.util.exception.OpenMISException
                    |
                    +--org.openmobileis.common.util.exception.DefaultException
All Implemented Interfaces:
OpenMISSerializable, java.io.Serializable
Direct Known Subclasses:
BadDataFormatException, DatabaseException, SQLException

public class DefaultException
extends OpenMISException

The default exception to use when no other exception can be defined.

Since:
JDK1.1
Version:
1.0
Author:
Philippe Delrieu
See Also:
Serialized Form

Constructor Summary
DefaultException()
           
DefaultException(int priority)
           
DefaultException(java.lang.String msg)
           
DefaultException(java.lang.String msg, int priority)
           
DefaultException(java.lang.String msg, java.lang.Throwable t)
           
DefaultException(java.lang.String msg, java.lang.Throwable t, int priority)
           
DefaultException(java.lang.Throwable t)
           
DefaultException(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, getLocalizedMessage, getMessage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultException

public DefaultException()

DefaultException

public DefaultException(int priority)

DefaultException

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

DefaultException

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

DefaultException

public DefaultException(java.lang.String msg)

DefaultException

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

DefaultException

public DefaultException(java.lang.Throwable t)

DefaultException

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

getService

public int getService()
return the default service id : LogServices.DEFAULTSERVICE
Overrides:
getService in class OpenMISException
Returns:
int LogServices.DEFAULTSERVICE
See Also:
LogServices


Copyright 2005 e-Care. All Rights Reserved.