org.sape.carbon.services.ejb
Class HomeFactoryClassCastException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sape.carbon.core.exception.BaseException
                    |
                    +--org.sape.carbon.services.ejb.HomeFactoryException
                          |
                          +--org.sape.carbon.services.ejb.HomeFactoryClassCastException
All Implemented Interfaces:
Exceptionable, Serializable

public class HomeFactoryClassCastException
extends HomeFactoryException

A specific exception that will be thrown when the EJB service encounters a java.lang.ClassCastException. This exception extends the abstract package exception HomeFactoryException.

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:
HomeFactoryException, 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
HomeFactoryClassCastException(Class sourceClass, String message)
          Constructor for HomeFactoryClassCastException.
HomeFactoryClassCastException(Class sourceClass, String message, Throwable cause)
          Constructor for HomeFactoryClassCastException.
 
Method Summary
 SeverityEnum getSeverity()
          Accessor method for retrieving the severity enumeration associated with this exception.
 
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

HomeFactoryClassCastException

public HomeFactoryClassCastException(Class sourceClass,
                                     String message)
Constructor for HomeFactoryClassCastException.

Parameters:
sourceClass - the source class of this exception
message - additional information related to this exception

HomeFactoryClassCastException

public HomeFactoryClassCastException(Class sourceClass,
                                     String message,
                                     Throwable cause)
Constructor for HomeFactoryClassCastException.

Parameters:
sourceClass - the source class of this exception
message - additional information related 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()
Accessor method for retrieving the severity enumeration associated with this exception.

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


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.