Class PokemonImportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.pixelmonmod.pixelmon.api.pokemon.export.exception.PokemonImportException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ShowdownImportException
Thrown when an error occurs during import of
Pokemon
- See Also:
-
Constructor Summary
ConstructorDescriptionPokemonImportException
(String entireText, String reason, Object failedValue) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionGets the entire imported textGets the failed value that caused the import to fail.Gets the reason the import failedMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PokemonImportException
Default constructor- Parameters:
entireText
- The entire imported textreason
- The reason it failed
-
-
Method Details
-
getEntireText
Gets the entire imported text- Returns:
- The entire text
-
getReason
Gets the reason the import failed- Returns:
- The reason
-
getFailedValue
Gets the failed value that caused the import to fail.- Returns:
- The reason
-