|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
org.apache.axis.AxisFault
org.oasis.wsrf.faults.BaseFaultType
org.gcube.common.core.faults.GCUBEFault
org.gcube.vremanagement.resourcebroker.impl.planbuilders.PlanBuilderException
public class PlanBuilderException
The only kind of exceptions that can be thrown during
decision planning.
Internally contains the message to return encapsulated
inside the
org.gcube.vremanagement.resourcebroker.utils.serialization.types.PlanResponse
returned to the requester.
| Field Summary |
|---|
| Fields inherited from class java.rmi.RemoteException |
|---|
detail |
| Constructor Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getMessage()
|
PackageGroup |
getPosition()
|
int |
hashCode()
|
| Methods inherited from class org.gcube.common.core.faults.GCUBEFault |
|---|
getDeserializer, getFaultMessage, getFaultType, getSerializer, getTypeDesc, remoteCause, setFaultMessage, setFaultType, toException, writeDetails |
| Methods inherited from class org.oasis.wsrf.faults.BaseFaultType |
|---|
getDescription, getDescription, getErrorCode, getFaultCause, getFaultCause, getOriginator, getTimestamp, setDescription, setDescription, setErrorCode, setFaultCause, setFaultCause, setOriginator, setTimestamp |
| Methods inherited from class org.apache.axis.AxisFault |
|---|
addFaultDetail, addFaultDetail, addFaultDetailString, addFaultSubCode, addFaultSubCodeAsString, addHeader, addHostname, addHostnameIfNeeded, clearFaultDetails, clearFaultSubCodes, clearHeaders, dump, dumpToString, getFaultActor, getFaultCode, getFaultDetails, getFaultNode, getFaultReason, getFaultRole, getFaultString, getFaultSubCodes, getHeaders, lookupFaultDetail, makeFault, output, printStackTrace, printStackTrace, removeFaultDetail, removeHostname, setFaultActor, setFaultCode, setFaultCode, setFaultCodeAsString, setFaultDetail, setFaultDetailString, setFaultNode, setFaultReason, setFaultRole, setFaultString, toString |
| Methods inherited from class java.rmi.RemoteException |
|---|
getCause |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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.
| Method Detail |
|---|
public final PackageGroup getPosition()
public final java.lang.String getMessage()
getMessage in class java.rmi.RemoteExceptionpublic final boolean equals(java.lang.Object obj)
equals in class org.gcube.common.core.faults.GCUBEFaultpublic final int hashCode()
hashCode in class org.gcube.common.core.faults.GCUBEFault
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||