[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2105) ProxyFactoryImpl for CGLIB is swallowing exceptions

Alexander Bacon (JIRA) noreply at atlassian.com
Mon Sep 25 21:57:24 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2105?page=comments#action_24620 ] 

Alexander Bacon commented on HHH-2105:
--------------------------------------

Sorry that should be ProxyFactoryFactoryImpl

> ProxyFactoryImpl for CGLIB is swallowing exceptions
> ---------------------------------------------------
>
>          Key: HHH-2105
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2105
>      Project: Hibernate3
>         Type: Bug

>     Reporter: Alexander Bacon
>     Priority: Minor

>
>
> org.hibernate.bytecode.cglib.ProxyFactoryImpl  is swallowing exceptions:
> public Object getProxy() {
> try {
> 	return factory.newInstance(
> 	new Callback[] { new PassThroughInterceptor( proxyClass.getName() ), NoOp.INSTANCE }
> 		);
> 	}
> 	catch ( Throwable t ) {
> 	    throw new HibernateException( "Unable to instantiate proxy instance" );
> 	}
> }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list