org.openmobileis.common.util.exception
Class DefaultException

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
All Implemented Interfaces:
OpenMISSerializable, java.io.Serializable
Direct Known Subclasses:
BadDataFormatException, DatabaseException

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, 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

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

Specified by:
getService in class OpenMISException
Returns:
int LogServices.DEFAULTSERVICE
See Also:
LogServices


Copyright 2006 OpenMobileIS. All Rights Reserved.