Class ExporterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.denodo.scheduler.api.exporter.ExporterException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RetryableExporterException
Exception that encapsulates an error when exporting data to target.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final longFor interoperability with possible future changes. -
Constructor Summary
ConstructorsConstructorDescriptionExporterException(Exception exception) Constructor.ExporterException(Exception exception, Integer exportedDocs) ExporterException(Exception exception, Integer exportedDocs, Boolean unknownExactlyExportedDocs) ExporterException(String message) ExporterException(String message, Integer exportedDocs) ExporterException(String message, Integer exportedDocs, Boolean unknownExactlyExportedDocs) ExporterException(String message, Throwable cause) ExporterException(String message, Throwable cause, Integer exportedDocs) ExporterException(String message, Throwable cause, Integer exportedDocs, Boolean unknownExactlyExportedDocs) -
Method Summary
Modifier and TypeMethodDescriptionGet the encapsulated exception.Get the number of exported documents.Get the exception message.voidPrints this exception and its backtrace to the standard error stream.voidprintStackTrace(PrintStream printStream) Prints this exception and its backtrace to the specified print stream.voidprintStackTrace(PrintWriter printWriter) Prints this exception and its backtrace to the specified print writer.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
serialVersionUID
protected static final long serialVersionUIDFor interoperability with possible future changes.- See Also:
-
-
Constructor Details
-
ExporterException
Constructor.- Parameters:
exception- Encapsulated exception.
-
ExporterException
-
ExporterException
-
ExporterException
-
ExporterException
-
ExporterException
-
ExporterException
-
ExporterException
-
ExporterException
-
-
Method Details
-
getMessage
Get the exception message.- Overrides:
getMessagein classThrowable- Returns:
- The exception message.
-
getEncapsulatedException
Get the encapsulated exception.- Returns:
- The encapsulated exception.
-
getExportedDocs
Get the number of exported documents.- Returns:
- the exportedDocs
-
hasUnknownExactlyExportedDocs
-
printStackTrace
public void printStackTrace()Prints this exception and its backtrace to the standard error stream.- Overrides:
printStackTracein classThrowable
-
printStackTrace
Prints this exception and its backtrace to the specified print stream.- Overrides:
printStackTracein classThrowable- Parameters:
printStream-PrintStreamto use for output.
-
printStackTrace
Prints this exception and its backtrace to the specified print writer.- Overrides:
printStackTracein classThrowable- Parameters:
printWriter-PrintWriterto use for output.
-