Package com.pkgrove.pkgrovekit.storage
Class CapabilityRejectedException
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class CapabilityRejectedException extends StorageException
A workflow needs capabilities this provider does not support. Thrown BEFORE data movement (HEL-236 capability model) so the failure is cheap and typed.
-
-
Constructor Summary
Constructors Constructor Description CapabilityRejectedException(String operation, String provider, Set<StorageCapability> missing)
-
Method Summary
Modifier and Type Method Description final StringgetOperation()final StringgetProvider()final Set<StorageCapability>getMissing()-
Methods inherited from class com.pkgrove.pkgrovekit.storage.StorageException
getRetrySafe -
Methods inherited from class kotlin.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CapabilityRejectedException
CapabilityRejectedException(String operation, String provider, Set<StorageCapability> missing)
-
-
Method Detail
-
getOperation
final String getOperation()
-
getProvider
final String getProvider()
-
getMissing
final Set<StorageCapability> getMissing()
-
-
-
-