public class PlanBuilderException
extends GCUBEFault
org.gcube.vremanagement.resourcebroker.utils.serialization.types.PlanResponse
returned to the requester.Constructor and Description |
---|
PlanBuilderException(PlanExceptionMessages errCode) |
PlanBuilderException(PlanExceptionMessages errCode,
PackageGroup position)
If during the deployment phase the exception is thrown in a well precise
PackageGroup node, it is passed here as parameter so that the error message
of the returned
org.gcube.vremanagement.resourcebroker.utils.serialization.types.PlanResponse
gives a detailed information about the node where the failure has arisen. |
PlanBuilderException(PlanExceptionMessages errCode,
PackageGroup position,
java.lang.String message)
Similar to the
PlanBuilderException(PlanExceptionMessages, PackageGroup)
with an additional parameter giving additional information about the failure. |
PlanBuilderException(PlanExceptionMessages errCode,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage() |
PackageGroup |
getPosition() |
int |
hashCode() |
public PlanBuilderException(PlanExceptionMessages errCode)
public PlanBuilderException(PlanExceptionMessages errCode, java.lang.String message)
public PlanBuilderException(PlanExceptionMessages errCode, PackageGroup position)
org.gcube.vremanagement.resourcebroker.utils.serialization.types.PlanResponse
gives a detailed information about the node where the failure has arisen.errCode
- a pre-built error message PlanExceptionMessages
to return to the requester inside the responseposition
- the PackageGroup
node where the failure happened.public PlanBuilderException(PlanExceptionMessages errCode, PackageGroup position, java.lang.String message)
PlanBuilderException(PlanExceptionMessages, PackageGroup)
with an additional parameter giving additional information about the failure.