Sha256: fcd2d83d2769fe21414a0e0556398153be1f8783ae1f9d40217a1bed491d5118
Contents?: true
Size: 712 Bytes
Versions: 12
Compression:
Stored size: 712 Bytes
Contents
package com.treasuredata.api; public class TdApiResponseException extends TdApiException { private final int status; private final byte[] body; public TdApiResponseException(int status, byte[] body) { super(String.format("TD API returned HTTP code %d", status)); this.status = status; this.body = body; } public TdApiResponseException(int status, byte[] body, Throwable cause) { super(String.format("TD API returned HTTP code %d", status), cause); this.status = status; this.body = body; } public int getStatusCode() { return status; } public byte[] getBody() { return body; } }
Version data entries
12 entries across 12 versions & 1 rubygems