Class InvalidUDTException

  • All Implemented Interfaces:
    Serializable

    public class InvalidUDTException
    extends InvalidDataTypeException
    An InvalidDataTypeException for incompatible user-defined data types. This provides the corresponding user-defined names and the AdeptDataType.USERDEFINED.
    Author:
    Ulrich Kreher
    See Also:
    Serialized Form
    • Field Detail

      • expectedUserDefinedTypes

        protected final String[] expectedUserDefinedTypes
        The user-defined types which are expected and can be handled.
      • actualUserDefinedType

        protected final String actualUserDefinedType
        The user-defined type of which the data element or parameter actually is.
    • Constructor Detail

      • InvalidUDTException

        public InvalidUDTException​(String parameterName,
                                   String expectedUserDefinedType,
                                   String actualUserDefinedType)
        Creates a new InvalidUDTNameException for the designated parameter and the designated user-defined types.
        Parameters:
        parameterName - The name of the parameter which is of the wrong user-defined type.
        expectedUserDefinedType - The user-defined type which is expected and can be handled.
        actualUserDefinedType - The user-defined type of which the parameter actually is.
      • InvalidUDTException

        public InvalidUDTException​(String parameterName,
                                   String[] expectedUserDefinedTypes,
                                   String actualUserDefinedType)
        Creates a new InvalidUDTNameException for the designated parameter and the designated user-defined types.
        Parameters:
        parameterName - The name of the parameter which is of the wrong user-defined type.
        expectedUserDefinedTypes - The user-defined types which are expected and can be handled.
        actualUserDefinedType - The user-defined type of which the parameter actually is.
      • InvalidUDTException

        public InvalidUDTException​(UUID instanceID,
                                   int dataElementID,
                                   String expectedUserDefinedType,
                                   String actualUserDefinedType)
        Creates a new InvalidUDTNameException for the designated data element and the designated user-defined types.
        Parameters:
        instanceID - The ID of the process instance of which a data element is of the wrong user-defined type.
        dataElementID - The ID of the data element which is of the wrong user-defined type.
        expectedUserDefinedType - The user-defined type which is expected and can be handled.
        actualUserDefinedType - The user-defined type of which the data element actually is.
      • InvalidUDTException

        public InvalidUDTException​(UUID instanceID,
                                   int dataElementID,
                                   String[] expectedUserDefinedTypes,
                                   String actualUserDefinedType)
        Creates a new InvalidUDTNameException for the designated data element and the designated user-defined types.
        Parameters:
        instanceID - The ID of the process instance of which a data element is of the wrong user-defined type.
        dataElementID - The ID of the data element which is of the wrong user-defined type.
        expectedUserDefinedTypes - The user-defined types which are expected and can be handled.
        actualUserDefinedType - The user-defined type of which the data element is.
    • Method Detail

      • getExpectedUserDefinedTypes

        public String[] getExpectedUserDefinedTypes()
        Gets the user-defined types which are expected and can be handled.
        Returns:
        The user-defined types which are expected and can be handled.
      • getActualUserDefinedType

        public String getActualUserDefinedType()
        Gets the user-defined type of which the data element or parameter actually is.
        Returns:
        The user-defined type of which the data element or parameter actually is.