com.abra.j2xb.beans.exceptions
Class MOBeansConstructionDefinitionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.abra.j2xb.beans.exceptions.MOBeansException
              extended by com.abra.j2xb.beans.exceptions.MOBeansConstructionDefinitionException
All Implemented Interfaces:
java.io.Serializable

public class MOBeansConstructionDefinitionException
extends MOBeansException

Since:
JDK1.5
Version:
1.0, May 1, 2008
Author:
Yoav Abrahami
See Also:
Serialized Form

Constructor Summary
MOBeansConstructionDefinitionException(java.lang.String s)
           
MOBeansConstructionDefinitionException(java.lang.String s, java.lang.Exception e, java.lang.Object... args)
           
MOBeansConstructionDefinitionException(java.lang.String s, java.lang.Object... args)
           
 
Method Summary
static MOBeansConstructionDefinitionException createConstructorNotFoundException(java.lang.Class<?> beanClass, java.lang.Class[] argTypes)
           
static MOBeansConstructionDefinitionException createFactoryClassDefinedWithoutFactoryMethodName(java.lang.Class<?> beanClass)
           
static MOBeansConstructionDefinitionException createFactoryNotFoundException(java.lang.Class factoryClass, java.lang.Class[] argTypes)
           
static MOBeansConstructionDefinitionException createFactoryStaticException(java.lang.Class factoryClass, java.lang.Class[] argTypes, java.lang.String expected, java.lang.String found)
           
static MOBeansConstructionDefinitionException createInstanceFactoryMiusedException(java.lang.Class<?> beanClass)
           
static MOBeansConstructionDefinitionException createInvalidUsageOfSourceProeprtyOf(java.lang.Class<?> beanClass, java.lang.String sourceProperty, java.lang.annotation.Annotation theAnnotation)
           
static MOBeansConstructionDefinitionException createPropertyNotFound(java.lang.String property, java.lang.Class<?> beanClass, java.lang.annotation.Annotation theAnnotation)
           
 
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

MOBeansConstructionDefinitionException

public MOBeansConstructionDefinitionException(java.lang.String s)

MOBeansConstructionDefinitionException

public MOBeansConstructionDefinitionException(java.lang.String s,
                                              java.lang.Object... args)

MOBeansConstructionDefinitionException

public MOBeansConstructionDefinitionException(java.lang.String s,
                                              java.lang.Exception e,
                                              java.lang.Object... args)
Method Detail

createInvalidUsageOfSourceProeprtyOf

public static MOBeansConstructionDefinitionException createInvalidUsageOfSourceProeprtyOf(java.lang.Class<?> beanClass,
                                                                                          java.lang.String sourceProperty,
                                                                                          java.lang.annotation.Annotation theAnnotation)

createPropertyNotFound

public static MOBeansConstructionDefinitionException createPropertyNotFound(java.lang.String property,
                                                                            java.lang.Class<?> beanClass,
                                                                            java.lang.annotation.Annotation theAnnotation)

createFactoryClassDefinedWithoutFactoryMethodName

public static MOBeansConstructionDefinitionException createFactoryClassDefinedWithoutFactoryMethodName(java.lang.Class<?> beanClass)

createConstructorNotFoundException

public static MOBeansConstructionDefinitionException createConstructorNotFoundException(java.lang.Class<?> beanClass,
                                                                                        java.lang.Class[] argTypes)

createFactoryNotFoundException

public static MOBeansConstructionDefinitionException createFactoryNotFoundException(java.lang.Class factoryClass,
                                                                                    java.lang.Class[] argTypes)

createFactoryStaticException

public static MOBeansConstructionDefinitionException createFactoryStaticException(java.lang.Class factoryClass,
                                                                                  java.lang.Class[] argTypes,
                                                                                  java.lang.String expected,
                                                                                  java.lang.String found)

createInstanceFactoryMiusedException

public static MOBeansConstructionDefinitionException createInstanceFactoryMiusedException(java.lang.Class<?> beanClass)


Copyright © 2008. All Rights Reserved.