public class InsufficientDataException extends ImpExException
These exceptions will cause the import/export to abort since it cannot be guaranteed that imported/exported data is useable at all.
ImpExException.ErrorCodes| Modifier and Type | Field and Description |
|---|---|
static int |
MISSING_MANDATORY_VALUE
At least one non-optional attribute is not provided by the value line.
|
static int |
MISSING_UNIQUE_KEY_VALUE
At least one attribute marked as unique key is not provided by the line.
|
static int |
TYPE_NOT_PERMITTED
The line type is not permitted by its header ( attributes missing, type is abstract, etc).
|
static int |
UNKNOWN
Unknown reason.
|
static int |
UNKNOWN_TYPE
The line requests a composed type which cannot be found in the current system.
|
| Constructor and Description |
|---|
InsufficientDataException(String message,
int errorCode) |
InsufficientDataException(ValueLine line,
String message,
int errorCode) |
| Modifier and Type | Method and Description |
|---|---|
ValueLine |
getValueLine() |
String |
toString()
Adds the error code of this exception to the output string.
|
getErrorCode, getThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic static final int UNKNOWN
public static final int MISSING_MANDATORY_VALUE
public static final int MISSING_UNIQUE_KEY_VALUE
public static final int TYPE_NOT_PERMITTED
public static final int UNKNOWN_TYPE
public InsufficientDataException(ValueLine line, String message, int errorCode)
public InsufficientDataException(String message, int errorCode)
public ValueLine getValueLine()
public String toString()
JaloBusinessExceptiontoString in class JaloBusinessExceptionCopyright © 2017 SAP SE. All Rights Reserved.