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

public class PokemonImportException extends Exception
Thrown when an error occurs during import of Pokemon
See Also:
  • Constructor Details

    • PokemonImportException

      public PokemonImportException(String entireText, String reason, Object failedValue)
      Default constructor
      Parameters:
      entireText - The entire imported text
      reason - The reason it failed
  • Method Details

    • getEntireText

      public String getEntireText()
      Gets the entire imported text
      Returns:
      The entire text
    • getReason

      public String getReason()
      Gets the reason the import failed
      Returns:
      The reason
    • getFailedValue

      public String getFailedValue()
      Gets the failed value that caused the import to fail.
      Returns:
      The reason