Class AttributeErrorInfo
Object
AttributeErrorInfo
Contains information about problems experienced when loading a particular attribute.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeErrorInfo
(AttributeSpec<?> attributeSpec, Long rowId, ItemIdentity itemId, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionReturns the attribute spec of the problematic attributegetCause()
If the problem caused an exception to be fired at the attributes system, returns that exceptionIf the problem happened when loading a particular item, returns that item IDgetRowId()
If the problem happened when loading a particular row, returns that row IDtoString()
-
Constructor Details
-
AttributeErrorInfo
public AttributeErrorInfo(@NotNull AttributeSpec<?> attributeSpec, @Nullable Long rowId, @Nullable ItemIdentity itemId, @Nullable Throwable cause)
-
-
Method Details
-
getAttributeSpec
Returns the attribute spec of the problematic attribute- Returns:
- attribute spec
-
getRowId
If the problem happened when loading a particular row, returns that row ID- Returns:
- row ID or null
-
getItemId
If the problem happened when loading a particular item, returns that item ID- Returns:
- item ID or null
-
getCause
If the problem caused an exception to be fired at the attributes system, returns that exception- Returns:
- caught exception or null
-
toString
-