org.sape.carbon.services.ejb
Class HomeFactoryException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.sape.carbon.core.exception.BaseException
|
+--org.sape.carbon.services.ejb.HomeFactoryException
- All Implemented Interfaces:
- Exceptionable, Serializable
- Direct Known Subclasses:
- HomeFactoryClassCastException, HomeFactoryClassNotFoundException, HomeFactoryNamingException
- public abstract class HomeFactoryException
- extends BaseException
This exception is the abstact, package-levelized exception for the EJB
service. All concrete exceptions thrown by the EJB service should extend from
this exception class.
Copyright 2002 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.8 $($Author: dvoet $ / $Date: 2003/05/05 21:21:27 $)
- Author:
- Erik M Gottesman, June 2002
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
SeverityEnum |
getSeverity()
Accessor method for retrieving the severity enumeration associated with
this exception. |
HomeFactoryException
public HomeFactoryException(Class sourceClass,
String message)
- Constructor for HomeFactoryException.
- Parameters:
sourceClass
- the source class of this exceptionmessage
- additional information related to this exception
HomeFactoryException
public HomeFactoryException(Class sourceClass,
String message,
Throwable cause)
- Constructor for HomeFactoryException
- Parameters:
sourceClass
- the source class of this exceptionmessage
- additional information related to this exceptioncause
- a throwable that can be considered the cause
of the current exception (used in levelizing exceptions)
getSeverity
public SeverityEnum getSeverity()
- Accessor method for retrieving the severity enumeration associated with
this exception.
- Specified by:
getSeverity
in interface Exceptionable
- Specified by:
getSeverity
in class BaseException
- Returns:
- SeverityEnum.INFO
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.