Package io.trino.plugin.pinot
Class PinotException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.trino.spi.TrinoException
io.trino.plugin.pinot.PinotException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PinotInsufficientServerResponseException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPinotException(PinotErrorCode errorCode, Optional<String> query, String message) PinotException(PinotErrorCode errorCode, Optional<String> query, String message, boolean retryable) PinotException(PinotErrorCode errorCode, Optional<String> query, String message, boolean retryable, Throwable throwable) PinotException(PinotErrorCode errorCode, Optional<String> query, String message, Throwable throwable) -
Method Summary
Methods inherited from class io.trino.spi.TrinoException
getErrorCode, getLocation, getMessage, getRawMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PinotException
-
PinotException
public PinotException(PinotErrorCode errorCode, Optional<String> query, String message, boolean retryable) -
PinotException
public PinotException(PinotErrorCode errorCode, Optional<String> query, String message, Throwable throwable) -
PinotException
public PinotException(PinotErrorCode errorCode, Optional<String> query, String message, boolean retryable, Throwable throwable)
-
-
Method Details
-
isRetryable
public boolean isRetryable()
-