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
public class InvalidUDTException extends InvalidDataTypeException
AnInvalidDataTypeException
for incompatible user-defined data types. This provides the corresponding user-defined names and theAdeptDataType.USERDEFINED
.- Author:
- Ulrich Kreher
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
actualUserDefinedType
The user-defined type of which the data element or parameter actually is.protected String[]
expectedUserDefinedTypes
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
Constructors Constructor Description InvalidUDTException(String parameterName, String[] expectedUserDefinedTypes, String actualUserDefinedType)
Creates a newInvalidUDTNameException
for the designated parameter and the designated user-defined types.InvalidUDTException(String parameterName, String expectedUserDefinedType, String actualUserDefinedType)
Creates a newInvalidUDTNameException
for the designated parameter and the designated user-defined types.InvalidUDTException(UUID instanceID, int dataElementID, String[] expectedUserDefinedTypes, String actualUserDefinedType)
Creates a newInvalidUDTNameException
for the designated data element and the designated user-defined types.InvalidUDTException(UUID instanceID, int dataElementID, String expectedUserDefinedType, String actualUserDefinedType)
Creates a newInvalidUDTNameException
for the designated data element and the designated user-defined types.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActualUserDefinedType()
Gets the user-defined type of which the data element or parameter actually is.String[]
getExpectedUserDefinedTypes()
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, getParameterName
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidUDTException
public InvalidUDTException(String parameterName, String expectedUserDefinedType, String actualUserDefinedType)
Creates a newInvalidUDTNameException
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 newInvalidUDTNameException
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 newInvalidUDTNameException
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 newInvalidUDTNameException
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.
-
-