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:
java.io.Serializable
public class InsufficientDataException extends ImpExException
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:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.impex.jalo.ImpExException
ImpExException.ErrorCodes
-
-
Field Summary
Fields Modifier and Type Field Description static intMISSING_MANDATORY_VALUEAt least one non-optional attribute is not provided by the value line.static intMISSING_UNIQUE_KEY_VALUEAt least one attribute marked as unique key is not provided by the line.static intTYPE_NOT_PERMITTEDThe line type is not permitted by its header ( attributes missing, type is abstract, etc).static intUNKNOWNUnknown reason.static intUNKNOWN_TYPEThe line requests a composed type which cannot be found in the current system.
-
Constructor Summary
Constructors Constructor Description InsufficientDataException(ValueLine line, java.lang.String message, int errorCode)InsufficientDataException(java.lang.String message, int errorCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueLinegetValueLine()java.lang.StringtoString()Adds the error code of this exception to the output string.-
Methods inherited from class de.hybris.platform.jalo.JaloBusinessException
getErrorCode, getThrowable
-
-
-
-
Field Detail
-
UNKNOWN
public static final int UNKNOWN
Unknown reason.- See Also:
- Constant Field Values
-
MISSING_MANDATORY_VALUE
public static final int MISSING_MANDATORY_VALUE
At least one non-optional attribute is not provided by the value line.- See Also:
- Constant Field Values
-
MISSING_UNIQUE_KEY_VALUE
public static final int MISSING_UNIQUE_KEY_VALUE
At least one attribute marked as unique key is not provided by the line.- See Also:
- Constant Field Values
-
TYPE_NOT_PERMITTED
public static final int TYPE_NOT_PERMITTED
The line type is not permitted by its header ( attributes missing, type is abstract, etc).- See Also:
- Constant Field Values
-
UNKNOWN_TYPE
public static final int UNKNOWN_TYPE
The line requests a composed type which cannot be found in the current system.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InsufficientDataException
public InsufficientDataException(ValueLine line, java.lang.String message, int errorCode)
-
InsufficientDataException
public InsufficientDataException(java.lang.String message, int errorCode)
-
-
Method Detail
-
getValueLine
public ValueLine getValueLine()
- Returns:
- Returns the value line.
-
toString
public java.lang.String toString()
Description copied from class:JaloBusinessExceptionAdds the error code of this exception to the output string.- Overrides:
toStringin classJaloBusinessException
-
-