SourceForge.net Logo

de.mindmatters.faces.spring.factory
Class BeanNotOfRequiredTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.springframework.core.NestedRuntimeException
                  extended byorg.springframework.beans.BeansException
                      extended byde.mindmatters.faces.spring.FacesBeansException
                          extended byde.mindmatters.faces.spring.factory.BeanNotOfRequiredTypeException
All Implemented Interfaces:
java.io.Serializable

public class BeanNotOfRequiredTypeException
extends FacesBeansException

Thrown when a faces bean doesn't match the required type.

Author:
Andreas Kuhrwahl
See Also:
Serialized Form

Constructor Summary
BeanNotOfRequiredTypeException(java.lang.String beanName, java.lang.Class requiredType, java.lang.Class actualType)
          Create a new BeanNotOfRequiredTypeException.
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanNotOfRequiredTypeException

public BeanNotOfRequiredTypeException(java.lang.String beanName,
                                      java.lang.Class requiredType,
                                      java.lang.Class actualType)
Create a new BeanNotOfRequiredTypeException.

Parameters:
beanName - the name of the bean requested
requiredType - the required type
actualType - the actual type returned, which did not match the expected type

SourceForge.net Logo

Copyright © 2002 mindmatters GmbH & Co. KG