Package org.eclipse.lsp4j.jsonrpc
Class ResponseErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.eclipse.lsp4j.jsonrpc.ResponseErrorException
-
- All Implemented Interfaces:
java.io.Serializable
public class ResponseErrorException extends java.lang.RuntimeException
An exception thrown in order to send a response with an attachederror
object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResponseErrorException(ResponseError responseError)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
ResponseError
getResponseError()
-
-
-
Constructor Detail
-
ResponseErrorException
public ResponseErrorException(ResponseError responseError)
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in classjava.lang.Throwable
-
getResponseError
public ResponseError getResponseError()
-
-