Class InsufficientDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.hybris.platform.jalo.JaloBusinessException
de.hybris.platform.impex.jalo.ImpExException
de.hybris.platform.impex.jalo.imp.InsufficientDataException
- All Implemented Interfaces:
Serializable
Indicates that a value line does not provide all attribute data which is necessary to perform the operation described
by the according header.
These exceptions will cause the import/export to abort since it cannot be guaranteed that imported/exported data is useable at all.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.impex.jalo.ImpExException
ImpExException.ErrorCodes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAt least one non-optional attribute is not provided by the value line.static final intAt least one attribute marked as unique key is not provided by the line.static final intThe line type is not permitted by its header ( attributes missing, type is abstract, etc).static final intUnknown reason.static final intThe line requests a composed type which cannot be found in the current system. -
Constructor Summary
ConstructorsConstructorDescriptionInsufficientDataException(ValueLine line, String message, int errorCode) InsufficientDataException(String message, int errorCode) -
Method Summary
Modifier and TypeMethodDescriptiontoString()Adds the error code of this exception to the output string.Methods inherited from class de.hybris.platform.jalo.JaloBusinessException
getErrorCode, getThrowableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
UNKNOWN
public static final int UNKNOWNUnknown reason.- See Also:
-
MISSING_MANDATORY_VALUE
public static final int MISSING_MANDATORY_VALUEAt least one non-optional attribute is not provided by the value line.- See Also:
-
MISSING_UNIQUE_KEY_VALUE
public static final int MISSING_UNIQUE_KEY_VALUEAt least one attribute marked as unique key is not provided by the line.- See Also:
-
TYPE_NOT_PERMITTED
public static final int TYPE_NOT_PERMITTEDThe line type is not permitted by its header ( attributes missing, type is abstract, etc).- See Also:
-
UNKNOWN_TYPE
public static final int UNKNOWN_TYPEThe line requests a composed type which cannot be found in the current system.- See Also:
-
-
Constructor Details
-
InsufficientDataException
-
InsufficientDataException
-
-
Method Details
-
getValueLine
- Returns:
- Returns the value line.
-
toString
Description copied from class:JaloBusinessExceptionAdds the error code of this exception to the output string.- Overrides:
toStringin classJaloBusinessException
-