public class ImportError extends Object
| Constructor and Description |
|---|
ImportError() |
ImportError(String type,
String line,
String msg) |
| Modifier and Type | Method and Description |
|---|---|
static ImportError |
create(ImpExError error) |
static ImportError |
create(String line,
String msg)
Creates an error.
|
Long |
getCanonicalItemId()
Retrieves ID of the item that failed to import.
|
String |
getCode()
Retrieves code of the error, which uniquely defines what problem has happened.
|
String |
getItemType()
Determines type of the item that failed to import.
|
String |
getMessage()
Reads the message describing the problem.
|
String |
getScriptLine()
Retrieves the line of the impex script, which resulted in this error
|
String |
toString() |
public static ImportError create(ImpExError error)
public static ImportError create(String line, String msg)
line - rejected impex script linemsg - an error message explaining the problempublic Long getCanonicalItemId()
null, if the error code indicates an impex header error.public String getItemType()
public String getScriptLine()
public String getMessage()
public String getCode()
Copyright © 2017 SAP SE. All Rights Reserved.