@Accessors
public class InvalidRequestException
extends java.lang.RuntimeException
XtextServiceDispatcher
must catch this exception and translate it to a proper error message.
An InvalidRequestException must never lead to an internal server error.| Modifier and Type | Class and Description |
|---|---|
static class |
InvalidRequestException.InvalidDocumentStateException
The required document state does not match the current document state.
|
static class |
InvalidRequestException.InvalidParametersException
The request parameters are not valid.
|
static class |
InvalidRequestException.PermissionDeniedException
Permission to invoke the requested service was denied.
|
static class |
InvalidRequestException.ResourceNotFoundException
The requested resource was not found on the server.
|
static class |
InvalidRequestException.UnknownLanguageException
The Xtext language could not be inferred from the parameters or metadata.
|
| Constructor and Description |
|---|
InvalidRequestException(java.lang.String message) |
InvalidRequestException(java.lang.String message,
java.lang.Throwable cause) |