Package us.kbase.common.service
Class ServerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- us.kbase.common.service.JsonClientException
-
- us.kbase.common.service.ServerException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServerException extends JsonClientException
A KBase JSONRPC exception raised by a client when the server responds with an error or the server response could not be handled.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServerException(java.lang.String message, int code, java.lang.String name)ServerException(java.lang.String message, int code, java.lang.String name, java.lang.String data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCode()java.lang.StringgetData()java.lang.StringgetName()
-