org.beanlet
Class BeanletNotOfRequiredTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.beanlet.BeanletApplicationException
                  extended by org.beanlet.BeanletException
                      extended by org.beanlet.BeanletNotOfRequiredTypeException
All Implemented Interfaces:
Serializable

public class BeanletNotOfRequiredTypeException
extends BeanletException

Thrown if required type does not matched found type.

See Also:
Serialized Form

Constructor Summary
BeanletNotOfRequiredTypeException(String beanletName, Class<?> required, Class<?> found)
           
BeanletNotOfRequiredTypeException(String beanletName, Class<?> required, Class<?> found, Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.beanlet.BeanletException
getBeanletName
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanletNotOfRequiredTypeException

public BeanletNotOfRequiredTypeException(String beanletName,
                                         Class<?> required,
                                         Class<?> found)

BeanletNotOfRequiredTypeException

public BeanletNotOfRequiredTypeException(String beanletName,
                                         Class<?> required,
                                         Class<?> found,
                                         Throwable cause)


Copyright © 2006-2012. All Rights Reserved.