Class DataImportException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.mvplugins.multiverse.core.exceptions.MultiverseException
org.mvplugins.multiverse.inventories.dataimport.DataImportException
All Implemented Interfaces:
Serializable, org.mvplugins.multiverse.core.locale.message.LocalizableMessage

public class DataImportException extends org.mvplugins.multiverse.core.exceptions.MultiverseException
Exception thrown when migration doesn't go well.
See Also:
  • Constructor Details

    • DataImportException

      public DataImportException(@Nullable @Nullable String message)
    • DataImportException

      public DataImportException(@Nullable @Nullable String message, Exception causeException)
    • DataImportException

      public DataImportException(@Nullable @Nullable org.mvplugins.multiverse.core.locale.message.Message message, Exception causeException)
    • DataImportException

      public DataImportException(@Nullable @Nullable String message, @Nullable @Nullable Throwable cause, Exception causeException)
    • DataImportException

      public DataImportException(@Nullable @Nullable org.mvplugins.multiverse.core.locale.message.Message message, @Nullable @Nullable Throwable cause, Exception causeException)
  • Method Details

    • setCauseException

      public DataImportException setCauseException(Exception exception)
      Sets what the causing exception was, if any.
      Parameters:
      exception - The cause exception.
      Returns:
      This exception for easy chainability.
    • getCauseException

      public Exception getCauseException()
      Returns:
      The causing exception or null if none.