Class CannotAddToAggregateState
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ai.stapi.graphsystem.aggregategraphstatemodifier.exceptions.CannotAddToAggregateState
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCannotAddToAggregateState(List<CannotAddToAggregateState> cannotAddToAggregateStateList) -
Method Summary
Modifier and TypeMethodDescriptionstatic CannotAddToAggregateStatebecauseModificationDefinitionDoesNotHaveInputValueParameterNameSpecified(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition) static CannotAddToAggregateStatebecauseModificationPathContainsFieldNameNotPresentInSchema(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition) static CannotAddToAggregateStatebecauseModificationPathContainsFieldNameWhichIsPrimitiveButItShouldNot(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition) static CannotAddToAggregateStatebecauseModificationPathDoesNotStartWithCorrectAggregateType(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition, String actualAggregateType) static CannotAddToAggregateStatebecauseModificationPathIsInvalid(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition) static CannotAddToAggregateStatebecauseModifiedNodeSpecifiedByModificationPathWasNotPresent(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition) static CannotAddToAggregateStatebecauseThereAlreadyIsSuchLeafAttribute(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, ai.stapi.graph.traversableGraphElements.TraversableNode modifiedNode) static CannotAddToAggregateStatebecauseThereAlreadyIsSuchLeafComplexType(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, ai.stapi.graph.traversableGraphElements.TraversableNode modifiedNode) static CannotAddToAggregateStatebecauseThereAreIndistinguishableNodes(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition, String expectedIdSourcePath) static CannotAddToAggregateStatebecauseThereAreMoreWaysToDistinguisNodes(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, String sourcePathOfId) static CannotAddToAggregateStatebecauseThereIsNoNodeWithIdSpecifiedAtSourcePath(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, String sourcePathOfId, ai.stapi.identity.UniqueIdentifier id) static CannotAddToAggregateStatebecauseThereIsNoSourcePathAtStartIdParameterName(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, ai.stapi.identity.UniqueIdentifier id, String startIdParameterName) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CannotAddToAggregateState
-
-
Method Details
-
becauseModificationPathIsInvalid
public static CannotAddToAggregateState becauseModificationPathIsInvalid(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition) -
becauseModificationPathDoesNotStartWithCorrectAggregateType
public static CannotAddToAggregateState becauseModificationPathDoesNotStartWithCorrectAggregateType(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition, String actualAggregateType) -
becauseModificationPathContainsFieldNameNotPresentInSchema
public static CannotAddToAggregateState becauseModificationPathContainsFieldNameNotPresentInSchema(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition) -
becauseModificationPathContainsFieldNameWhichIsPrimitiveButItShouldNot
public static CannotAddToAggregateState becauseModificationPathContainsFieldNameWhichIsPrimitiveButItShouldNot(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition) -
becauseModificationDefinitionDoesNotHaveInputValueParameterNameSpecified
public static CannotAddToAggregateState becauseModificationDefinitionDoesNotHaveInputValueParameterNameSpecified(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition) -
becauseModifiedNodeSpecifiedByModificationPathWasNotPresent
public static CannotAddToAggregateState becauseModifiedNodeSpecifiedByModificationPathWasNotPresent(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition) -
becauseThereAreIndistinguishableNodes
public static CannotAddToAggregateState becauseThereAreIndistinguishableNodes(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationDefinition, String expectedIdSourcePath) -
becauseThereAreMoreWaysToDistinguisNodes
public static CannotAddToAggregateState becauseThereAreMoreWaysToDistinguisNodes(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, String sourcePathOfId) -
becauseThereIsNoNodeWithIdSpecifiedAtSourcePath
public static CannotAddToAggregateState becauseThereIsNoNodeWithIdSpecifiedAtSourcePath(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, String sourcePathOfId, ai.stapi.identity.UniqueIdentifier id) -
becauseThereIsNoSourcePathAtStartIdParameterName
public static CannotAddToAggregateState becauseThereIsNoSourcePathAtStartIdParameterName(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, ai.stapi.identity.UniqueIdentifier id, String startIdParameterName) -
becauseThereAlreadyIsSuchLeafComplexType
public static CannotAddToAggregateState becauseThereAlreadyIsSuchLeafComplexType(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, ai.stapi.graph.traversableGraphElements.TraversableNode modifiedNode) -
becauseThereAlreadyIsSuchLeafAttribute
public static CannotAddToAggregateState becauseThereAlreadyIsSuchLeafAttribute(CommandHandlerDefinitionDTO.EventFactory.EventFactoryModification modificationDefinition, ai.stapi.schema.structureSchema.ComplexStructureType operationStructureType, ai.stapi.graph.traversableGraphElements.TraversableNode modifiedNode)
-