org.sape.carbon.services.uniqueid
Class UniqueIDServiceException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sape.carbon.core.exception.BaseException
                    |
                    +--org.sape.carbon.services.uniqueid.UniqueIDServiceException
All Implemented Interfaces:
Exceptionable, Serializable
Direct Known Subclasses:
UniqueIDCreationException, UniqueIDNotFoundException

public class UniqueIDServiceException
extends BaseException

Exception that would be thrown if there is any error in the UniqueIDService. Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.6 $($Author: dvoet $ / $Date: 2003/05/05 21:21:38 $)
Author:
Vivekanand Kirubanandan, June 2002
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sape.carbon.core.exception.BaseException
delegatedException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
UniqueIDServiceException(Class sourceClass, String idName, String message)
          Constructor for GeneralSqlException.
UniqueIDServiceException(Class sourceClass, String idName, String message, Throwable cause)
          Constructor for GeneralSqlException
 
Method Summary
 SeverityEnum getSeverity()
          This method must be overriden by subclasses so that they may declare their severity
 
Methods inherited from class org.sape.carbon.core.exception.BaseException
getCause, getExceptionSource, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UniqueIDServiceException

public UniqueIDServiceException(Class sourceClass,
                                String idName,
                                String message)
Constructor for GeneralSqlException.

Parameters:
sourceClass - The source class of this exception
idName - name of the id that was being processed when the exception is thrown.
message - string information relating to this exception

UniqueIDServiceException

public UniqueIDServiceException(Class sourceClass,
                                String idName,
                                String message,
                                Throwable cause)
Constructor for GeneralSqlException

Parameters:
sourceClass - The source class of this exception
idName - name of the id that was being processed when the exception is thrown.
message - string information relating to this exception
cause - a throwable that can be considered the cause of the current exception (used in levelizing exceptions)
Method Detail

getSeverity

public SeverityEnum getSeverity()
Description copied from class: BaseException
This method must be overriden by subclasses so that they may declare their severity

Specified by:
getSeverity in interface Exceptionable
Specified by:
getSeverity in class BaseException
Returns:
SeverityEnum.INFO


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.