Hi,
I have a ClientResource that sends a request, I get following response back:
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Language: nl
Date: Fri, 23 Jul 2010 18:08:47 GMT
Accept-Ranges: bytes
Server: Restlet-Framework/2.0rc4
Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
Content-Type: text/plain;charset=US-ASCII
Content-Length: 92
Connection: close
Internal Server Error (500) - documentUUID has not been defined: null Internal
Server Error
The code is:
try {
Representation rep =
helloClientResource.put(form.getWebRepresentation(CharacterSet.ISO_8859_1));
} catch (Exception e) {
System.out.println("==>" + e);
}
The Exception only displays following error:
==>Internal Server Error
I need to log the complete error, meaning:
Internal Server Error (500) - documentUUID has not been defined: null Internal
Server Error
as defined in the payload of the response.
How can I do that ?
H.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2637424