public class PDFTimeoutException extends RuntimeException
| Constructor and Description |
|---|
PDFTimeoutException(int timeout,
Exception e)
Instantiates a new Pdf timeout exception when future process timeout happens
|
PDFTimeoutException(String command,
int timeout,
byte[] out)
Instantiates a new Pdf timeout exception when wkhtmltopdf timeout happens
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCommand()
Gets command.
|
int |
getExitStatus()
Gets exit status.
|
byte[] |
getOut()
Get out byte [ ].
|
int |
getTimeout()
Get timeout.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PDFTimeoutException(String command, int timeout, byte[] out)
command - the commandtimeout - the timeoutout - the outpublic PDFTimeoutException(int timeout,
Exception e)
timeout - the timeoute - the exceptionpublic String getCommand()
public int getExitStatus()
public byte[] getOut()
public int getTimeout()
Copyright © 2023. All rights reserved.