Class InvalidListValuedDataContainerException

java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.model.datamanagement.InvalidDataContainerException
de.aristaflow.adept2.model.datamanagement.InvalidListValuedDataContainerException
All Implemented Interfaces:
Serializable

public class InvalidListValuedDataContainerException extends InvalidDataContainerException
An InvalidListValuedDataContainerException indicates that a designated data container does not provide the necessary data of the right type for indexed access. That is, for indexed access the parent data container needs to provide a UDT of type java.util.List with the right inner types.
Author:
Ulrich Kreher
See Also:
  • Constructor Details

    • InvalidListValuedDataContainerException

      public InvalidListValuedDataContainerException(InputDataContainer invalidDataContainer, String invalidParameterName)
      Creates a new InvalidListValuedDataContainerException indicating problems with the designated parent data container and the designated parameter.
      Parameters:
      invalidDataContainer - The parent data container not providing a parameter of the required type.
      invalidParameterName - The name of the parameter which is not of the required type in the parent data container.
    • InvalidListValuedDataContainerException

      public InvalidListValuedDataContainerException(DataContainer invalidDataContainer, String invalidParameterName, Throwable cause)
      Creates a new InvalidListValuedDataContainerException indicating problems with the designated parent data container and the designated parameter and also specifies the cause that led to the exception, for instance, an exception stemming from the serialisation.
      Parameters:
      invalidDataContainer - The parent data container not providing a parameter of the required type.
      invalidParameterName - The name of the parameter which is not of the required type in the parent data container.
      cause - The (serialisation) exception that caused this exception.