public class RestException
Base class for rest exceptions.
public RestException(@NotNull java.lang.String message, int code)
public int getCode()