Oracle Community Directory
Oracle Community FAQ
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
Java EE (Java Enterprise Edition)
This discussion is archived
on Mar 13, 2013 10:08 PM by EJP
Mar 13, 2013 9:31 PM
How do I instantiate HttpConversationContext inside CustomExceptionHandler (which extends ExceptionHandlerWrapper) ?
I used the following code
HttpConversationContext conversationContext= HttpConversationContext.class.newInstance();
But is throwing java.lang.InstantiationException: org.jboss.weld.context.http.HttpConversationContext
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Mar 13, 2013 10:08 PM
in response to
Clearly you don't instantiate it at all. It already exists. You get it from the processing context somehow. But this is not a JBoss forum.
1 person found this helpful