Class InvalidRuntimeManagerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.aristaflow.adept2.model.execution.InvalidActivityStateException
-
- de.aristaflow.adept2.model.execution.InvalidRuntimeManagerException
-
- All Implemented Interfaces:
Serializable
public class InvalidRuntimeManagerException extends InvalidActivityStateException
This exception will be raised if an execution manager cannot resolve the runtime manager URIs provided by anEBPInstanceReference
.- Author:
- Ulrich Kreher
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected EBPInstanceReference
ebp
TheEBPInstanceReference
not providing valid runtime manager URIs.-
Fields inherited from class de.aristaflow.adept2.model.execution.InvalidActivityStateException
activityState, agent
-
-
Constructor Summary
Constructors Constructor Description InvalidRuntimeManagerException(EBPInstanceReference ebp, ProcessConstants.NodeState state)
Creates a newInvalidRuntimeManagerException
to indicate that an execution manager cannot resolve the runtime manager URIs provided by anEBPInstanceReference
.InvalidRuntimeManagerException(EBPInstanceReference ebp, ProcessConstants.NodeState state, Throwable cause)
Creates a newInvalidRuntimeManagerException
to indicate that an execution manager cannot resolve the runtime manager URIs provided by anEBPInstanceReference
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI[]
getRuntimeManagerURI()
Gets the URIs for the runtime manager causing this exception since they cannot be resolved.-
Methods inherited from class de.aristaflow.adept2.model.execution.InvalidActivityStateException
getActivityState, getAgent
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
ebp
protected final EBPInstanceReference ebp
TheEBPInstanceReference
not providing valid runtime manager URIs.
-
-
Constructor Detail
-
InvalidRuntimeManagerException
public InvalidRuntimeManagerException(EBPInstanceReference ebp, ProcessConstants.NodeState state)
Creates a newInvalidRuntimeManagerException
to indicate that an execution manager cannot resolve the runtime manager URIs provided by anEBPInstanceReference
.- Parameters:
ebp
- TheEBPInstanceReference
not providing valid runtime manager URIs.state
- The state of the node causing this exception. This is needed for the superclass.
-
InvalidRuntimeManagerException
public InvalidRuntimeManagerException(EBPInstanceReference ebp, ProcessConstants.NodeState state, Throwable cause)
Creates a newInvalidRuntimeManagerException
to indicate that an execution manager cannot resolve the runtime manager URIs provided by anEBPInstanceReference
.- Parameters:
ebp
- TheEBPInstanceReference
not providing valid runtime manager URIs.state
- The state of the node causing this exception. This is needed for the superclass.cause
- The cause for theInvalidRuntimeManagerException
providing additional information.
-
-
Method Detail
-
getRuntimeManagerURI
public URI[] getRuntimeManagerURI()
Gets the URIs for the runtime manager causing this exception since they cannot be resolved.- Returns:
- The URIs for the runtime manager that cannot be resolved (and therefore caused this exception.
-
-