|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tridas.io.exceptions.ConversionWarning
public class ConversionWarning
A conversion warning is used to record when an issue has been detected during the conversion of a file from or to the Tridas classes.
Nested Class Summary | |
---|---|
static class |
ConversionWarning.WarningType
Warning types that can be raised |
Constructor Summary | |
---|---|
ConversionWarning(ConversionWarning.WarningType warningType,
String warningMessage)
Raise a warning about an aspect of the data conversion |
|
ConversionWarning(ConversionWarning.WarningType warningType,
String warningMessage,
String problemField)
Raise a warning about an aspect of the data conversion |
Method Summary | |
---|---|
String |
getField()
Get the field that this warning applies to |
String |
getMessage()
Get the message for the warning |
ConversionWarning.WarningType |
getWarningType()
Get the type of warning |
String |
toString()
|
String |
toStringWithField()
Get the warning message including the field involved if possible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConversionWarning(ConversionWarning.WarningType warningType, String warningMessage)
warningType
- The type of warningwarningMessage
- The warning messagepublic ConversionWarning(ConversionWarning.WarningType warningType, String warningMessage, String problemField)
warningType
- The type of warningwarningMessage
- The warning messageproblemField
- The field where the problem comes fromMethod Detail |
---|
public ConversionWarning.WarningType getWarningType()
public String getMessage()
public String getField()
public String toString()
toString
in class Object
public String toStringWithField()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |