public class ShowdownImportException extends PokemonImportException
Constructor and Description |
---|
ShowdownImportException(java.lang.String entireText,
java.lang.String reason,
java.lang.Object failedValue,
ShowdownFieldType field,
java.lang.String value)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
ShowdownFieldType |
getField()
Gets the showdown field that the import failed on
|
java.lang.String |
getValue()
Gets the value that was incorrect/erroneous
|
getEntireText, getFailedValue, getReason
public ShowdownImportException(java.lang.String entireText, java.lang.String reason, java.lang.Object failedValue, ShowdownFieldType field, java.lang.String value)
entireText
- All imported textreason
- The reason it failedfield
- The field it failed onvalue
- The value that caused the errorpublic ShowdownFieldType getField()
public java.lang.String getValue()