| 
 | ||||||||||
| 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.WarningTypeWarning 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 message
public ConversionWarning(ConversionWarning.WarningType warningType,
                         String warningMessage,
                         String problemField)
warningType - The type of warningwarningMessage - The warning messageproblemField - The field where the problem comes from| Method Detail | 
|---|
public ConversionWarning.WarningType getWarningType()
public String getMessage()
public String getField()
public String toString()
toString in class Objectpublic String toStringWithField()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||