Package io.trino
Class ExceededMemoryLimitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.trino.spi.TrinoException
io.trino.ExceededMemoryLimitException
- All Implemented Interfaces:
Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExceededMemoryLimitExceptionexceededGlobalTotalLimit(io.airlift.units.DataSize maxMemory) static ExceededMemoryLimitExceptionexceededGlobalUserLimit(io.airlift.units.DataSize maxMemory) static ExceededMemoryLimitExceptionexceededLocalUserMemoryLimit(io.airlift.units.DataSize maxMemory, String additionalFailureInfo) 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
-
Method Details
-
exceededGlobalUserLimit
public static ExceededMemoryLimitException exceededGlobalUserLimit(io.airlift.units.DataSize maxMemory) -
exceededGlobalTotalLimit
public static ExceededMemoryLimitException exceededGlobalTotalLimit(io.airlift.units.DataSize maxMemory) -
exceededLocalUserMemoryLimit
public static ExceededMemoryLimitException exceededLocalUserMemoryLimit(io.airlift.units.DataSize maxMemory, String additionalFailureInfo)
-