Package htsjdk.samtools.util.htsget
Class HtsgetErrorResponse
- java.lang.Object
-
- htsjdk.samtools.util.htsget.HtsgetErrorResponse
-
public class HtsgetErrorResponse extends Object
Class allowing deserialization from json htsget error response, as defined in https://samtools.github.io/hts-specs/htsget.html An example response could be as follows { "htsget": { "error": "NotFound", "message": "No such accession 'ENS16232164'" } }
-
-
Constructor Summary
Constructors Constructor Description HtsgetErrorResponse(String error, String message)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getError()
String
getMessage()
static HtsgetErrorResponse
parse(String s)
-