Class DataImportError

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ImportError

    public class DataImportError
    extends java.lang.Object
    implements java.io.Serializable
    Describes error that has happened during the import process.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DataImportError​(java.lang.String message, java.lang.String code)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      Retrieves code of the error, which uniquely defines what problem has happened.
      java.lang.String getMessage()
      Reads the message describing the problem.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataImportError

        public DataImportError​(java.lang.String message,
                               java.lang.String code)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Reads the message describing the problem.
        Returns:
        an error message.
      • getCode

        public java.lang.String getCode()
        Retrieves code of the error, which uniquely defines what problem has happened.
        Returns:
        the error code.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object