com.abra.j2xb.beans.exceptions
Class MOBeanGenericsException

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.MOBeanGenericsException
All Implemented Interfaces:
java.io.Serializable

public class MOBeanGenericsException
extends MOBeansException

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

Constructor Summary
MOBeanGenericsException(java.lang.String s)
           
MOBeanGenericsException(java.lang.String s, java.lang.Exception e, java.lang.Object... args)
           
MOBeanGenericsException(java.lang.String s, java.lang.Object... args)
           
 
Method Summary
static void throwUnexpectedActualTypeSizeException(java.lang.Class beanClass, java.beans.PropertyDescriptor propertyDescriptor)
           
static void throwUnexpectedReturnTypeException(java.lang.Class beanClass, java.beans.PropertyDescriptor propertyDescriptor)
           
 
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

MOBeanGenericsException

public MOBeanGenericsException(java.lang.String s)

MOBeanGenericsException

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

MOBeanGenericsException

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

throwUnexpectedReturnTypeException

public static void throwUnexpectedReturnTypeException(java.lang.Class beanClass,
                                                      java.beans.PropertyDescriptor propertyDescriptor)
                                               throws MOBeanGenericsException
Throws:
MOBeanGenericsException

throwUnexpectedActualTypeSizeException

public static void throwUnexpectedActualTypeSizeException(java.lang.Class beanClass,
                                                          java.beans.PropertyDescriptor propertyDescriptor)
                                                   throws MOBeanGenericsException
Throws:
MOBeanGenericsException


Copyright © 2008. All Rights Reserved.