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
public class PinotException extends TrinoException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PinotException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRetryable()-
Methods inherited from class io.trino.spi.TrinoException
getErrorCode, getLocation, getMessage, getRawMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PinotException
public PinotException(PinotErrorCode errorCode, Optional<String> query, String message)
-
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)
-
-