You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by Diane J <je...@gmail.com> on 2007/12/17 14:22:53 UTC

Re: UnsupportedOperationException



Diane Jewett wrote:
> 
> How do I get around an UnsupportedOperationException from shale?
> 
> java.lang.UnsupportedOperationException
> 	at
> org.apache.shale.test.mock.MockExternalContext.getRequestHeaderValuesMap(MockExternalContext.java:257)
> 
> 

-- 
View this message in context: http://www.nabble.com/UnsupportedOperationException-tp14337784p14370291.html
Sent from the Shale - User mailing list archive at Nabble.com.


Re: UnsupportedOperationException

Posted by Antonio Petrelli <an...@gmail.com>.
2007/12/17, Diane J <je...@gmail.com>:
>
>
>
>
> Diane Jewett wrote:
> >
> > How do I get around an UnsupportedOperationException from shale?
> >
> > java.lang.UnsupportedOperationException
> >       at
> > org.apache.shale.test.mock.MockExternalContext.getRequestHeaderValuesMap
> (MockExternalContext.java:257)



That exception has been added in mock classes because, at that time,
developers did not know how to implement them.
But feel free to extend that class, or to submit a patch :-)

Ciao
Antonio