Document that the output file is not deleted in case of error/cancel

PiperOrigin-RevId: 511189130
This commit is contained in:
kimvde 2023-02-21 14:57:24 +00:00 committed by tonihei
parent 465301da7c
commit 2365bbf3db

View file

@ -492,6 +492,8 @@ public final class Transformer {
/**
* Called if an exception occurs during the export.
*
* <p>The export output file (if any) is not deleted in this case.
*
* @param composition The {@link Composition} for which the exception occurs.
* @param exportResult The {@link ExportResult} of the export.
* @param exportException The {@link ExportException} describing the exception. This is the same
@ -854,6 +856,8 @@ public final class Transformer {
/**
* Cancels the export that is currently in progress, if any.
*
* <p>The export output file (if any) is not deleted.
*
* @throws IllegalStateException If this method is called from the wrong thread.
*/
public void cancel() {