Class MetisViewerExceptionWrapper
java.lang.Object
io.github.tonywasher.joceanus.metis.viewer.MetisViewerExceptionWrapper
- All Implemented Interfaces:
MetisDataItem.MetisDataObjectFormat,MetisFieldItem
Wrapper class to facilitate reporting of exception.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.tonywasher.joceanus.metis.field.MetisFieldItem
MetisFieldItem.MetisFieldDef, MetisFieldItem.MetisFieldItemType, MetisFieldItem.MetisFieldSetDef, MetisFieldItem.MetisFieldTableItem, MetisFieldItem.MetisFieldUpdatableItem, MetisFieldItem.MetisFieldVersionedDef -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new Metis Exception Wrapper for an underlying exception. -
Method Summary
Modifier and TypeMethodDescriptionformatObject(OceanusDataFormatter pFormatter) Obtain Object summary.Obtain the fieldSet.Obtain message.
-
Constructor Details
-
MetisViewerExceptionWrapper
Create a new Metis Exception Wrapper for an underlying exception.- Parameters:
e- the underlying exception
-
-
Method Details
-
getDataFieldSet
Description copied from interface:MetisFieldItemObtain the fieldSet.- Specified by:
getDataFieldSetin interfaceMetisFieldItem- Returns:
- the fieldSet
-
formatObject
Description copied from interface:MetisDataItem.MetisDataObjectFormatObtain Object summary.- Specified by:
formatObjectin interfaceMetisDataItem.MetisDataObjectFormat- Parameters:
pFormatter- the data formatter- Returns:
- the display summary of the object
-
getMessage
Obtain message.- Returns:
- the message
-