public class InfluxDBException extends RuntimeException
Modifier and Type | Class and Description |
---|---|
static class |
InfluxDBException.AuthorizationFailedException |
static class |
InfluxDBException.CacheMaxMemorySizeExceededException |
static class |
InfluxDBException.DatabaseNotFoundException |
static class |
InfluxDBException.FieldTypeConflictException |
static class |
InfluxDBException.HintedHandOffQueueNotEmptyException |
static class |
InfluxDBException.PointsBeyondRetentionPolicyException |
static class |
InfluxDBException.RetryBufferOverrunException |
static class |
InfluxDBException.UnableToParseException |
Constructor and Description |
---|
InfluxDBException(String message) |
InfluxDBException(String message,
Throwable cause) |
InfluxDBException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static InfluxDBException |
buildExceptionForErrorState(InputStream messagePackErrorBody)
Create corresponding InfluxDBException from the message pack error body.
|
static InfluxDBException |
buildExceptionForErrorState(String errorBody) |
boolean |
isRetryWorth() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InfluxDBException(String message)
public InfluxDBException(Throwable cause)
public boolean isRetryWorth()
public static InfluxDBException buildExceptionForErrorState(String errorBody)
public static InfluxDBException buildExceptionForErrorState(InputStream messagePackErrorBody)
messagePackErrorBody
- the error body if anyCopyright © 2019. All rights reserved.