Class ImportReport.ImportError
- java.lang.Object
-
- org.ametys.plugins.contentio.archive.ImportReport.ImportError
-
- Enclosing class:
- ImportReport
public static final class ImportReport.ImportError extends Object
An error during an import, which can beadded
to anImportReport
-
-
Field Summary
Fields Modifier and Type Field Description private Throwable
_throwable
-
Constructor Summary
Constructors Constructor Description ImportError(Throwable t)
Creates a new error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
String
getStackTrace()
Gets thestack trace
of theThrowable
, as formatted string
-
-
-
Field Detail
-
_throwable
private final Throwable _throwable
-
-
Constructor Detail
-
ImportError
public ImportError(Throwable t)
Creates a new error.- Parameters:
t
- TheThrowable
-
-
Method Detail
-
getMessage
public String getMessage()
- Returns:
- the message
-
getStackTrace
public String getStackTrace()
Gets thestack trace
of theThrowable
, as formatted string- Returns:
- the stacktrace as formatted string
-
-