Class GpuDeviceSpecificationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuDeviceSpecificationException
- All Implemented Interfaces:
Serializable
public final class GpuDeviceSpecificationException
extends org.apache.hadoop.yarn.exceptions.YarnException
This exception is to be thrown when allowed GPU device specification
is empty or invalid.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateWithDuplicateValueSpecified(String device, String configValue) createWithWrongValueSpecified(String device, String configValue) createWithWrongValueSpecified(String device, String configValue, Exception cause) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
createWithEmptyValueSpecified
-
createWithWrongValueSpecified
public static GpuDeviceSpecificationException createWithWrongValueSpecified(String device, String configValue, Exception cause) -
createWithWrongValueSpecified
public static GpuDeviceSpecificationException createWithWrongValueSpecified(String device, String configValue) -
createWithDuplicateValueSpecified
public static GpuDeviceSpecificationException createWithDuplicateValueSpecified(String device, String configValue)
-