Class InvalidUDTException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.aristaflow.adept2.model.datamanagement.InvalidDataTypeException
de.aristaflow.adept2.model.datamanagement.InvalidUDTException
- All Implemented Interfaces:
Serializable
An
InvalidDataTypeException for incompatible user-defined data
types. This provides the corresponding user-defined names and the
AdeptDataType.USERDEFINED.- Author:
- Ulrich Kreher
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final StringThe user-defined type of which the data element or parameter actually is.protected final String[]The user-defined types which are expected and can be handled.Fields inherited from class de.aristaflow.adept2.model.datamanagement.InvalidDataTypeException
actualDataType, dataElementID, expectedDataType, instanceID, parameterName -
Constructor Summary
ConstructorsConstructorDescriptionInvalidUDTException(String parameterName, String[] expectedUserDefinedTypes, String actualUserDefinedType) Creates a newInvalidUDTNameExceptionfor the designated parameter and the designated user-defined types.InvalidUDTException(String parameterName, String expectedUserDefinedType, String actualUserDefinedType) Creates a newInvalidUDTNameExceptionfor the designated parameter and the designated user-defined types.InvalidUDTException(UUID instanceID, int dataElementID, String[] expectedUserDefinedTypes, String actualUserDefinedType) Creates a newInvalidUDTNameExceptionfor the designated data element and the designated user-defined types.InvalidUDTException(UUID instanceID, int dataElementID, String expectedUserDefinedType, String actualUserDefinedType) Creates a newInvalidUDTNameExceptionfor the designated data element and the designated user-defined types. -
Method Summary
Modifier and TypeMethodDescriptionGets the user-defined type of which the data element or parameter actually is.String[]Gets the user-defined types which are expected and can be handled.Methods inherited from class de.aristaflow.adept2.model.datamanagement.InvalidDataTypeException
getActualDataType, getDataElementID, getExpectedDataType, getInstanceID, getParameterNameMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
expectedUserDefinedTypes
The user-defined types which are expected and can be handled. -
actualUserDefinedType
The user-defined type of which the data element or parameter actually is.
-
-
Constructor Details
-
InvalidUDTException
public InvalidUDTException(String parameterName, String expectedUserDefinedType, String actualUserDefinedType) Creates a newInvalidUDTNameExceptionfor 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 newInvalidUDTNameExceptionfor 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 newInvalidUDTNameExceptionfor 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 newInvalidUDTNameExceptionfor 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 Details
-
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
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.
-