Class DataImportError
- java.lang.Object
-
- de.hybris.platform.dataimportcommons.facades.DataImportError
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ImportError
public class DataImportError extends java.lang.Object implements java.io.SerializableDescribes 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.StringgetCode()Retrieves code of the error, which uniquely defines what problem has happened.java.lang.StringgetMessage()Reads the message describing the problem.java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-