flex blazeds spring exception translator
Posted
by Shah Al
on Stack Overflow
See other posts from Stack Overflow
or by Shah Al
Published on 2010-06-16T21:05:53Z
Indexed on
2010/06/16
21:12 UTC
Read the original article
Hit count: 599
I am using spring exception translator to wrap java exception into flex exception. eg
public void testException()throws Exception{
throw new Exception("my exception");
}
But for some reason, I am getting IllegalAccessError. The code sections are entering the testException and the Translator class.
Question: why it trying to get log target level ? Can someone help me resolve this please.
Below is the lines from the log:
MyExceptionTranslatorImpl.translate()class java.lang.IllegalAccessError
MyExceptionTranslatorImpl.translate()java.lang.IllegalAccessError: tried to access method flex.messaging.log.Log.getTargetLevel()S from class flex.messaging.MessageException
MyExceptionTranslatorImpl.translate()tried to access method
flex.messaging.log.Log.getTargetLevel()S from class flex.messaging.MessageException
[BlazeDS] tried to access method flex.messaging.log.Log.getTargetLevel()S from class flex.messaging.MessageException
[BlazeDS] Serializing AMF/HTTP response
© Stack Overflow or respective owner