How to override the method getRepresentation in a subclass of StatusService

2011-04-28 Thread enzostartkd
Hi, I would like to customize the message in case of error status. I have read this can me made in a subclass of StatusService by overriding the getRepresentation method. But what have I to do in this method ? I would like to send in the response the descritpion set in the ResourceException. Than

RE: ResourceException description not present anywhere in 'default' HTML representation output

2011-04-27 Thread enzostartkd
Hi ! if someone could answer in french, it would be better, but i accept english too ! I also wonder about utility of "description". How can we use it on client side ? Thanks Vincent -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/ResourceException-description-not-