@Produces(value="application/json") @Path(value="/error") public class ErrorWebService extends Object
Constructor and Description |
---|
ErrorWebService() |
Modifier and Type | Method and Description |
---|---|
ServiceResult |
get(long id,
long lang)
loads an Error-Object.
|
void |
report(String sid,
String message) |
@GET @Path(value="/{id}/{lang}") public ServiceResult get(@PathParam(value="id") long id, @PathParam(value="lang") long lang)
id
- the error id (negative Value here!)lang
- The id of the languageCopyright © 2012–2017 Apache Software Foundation. All rights reserved.