com.docmosis.document
Class ProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.docmosis.document.ProcessingException
- All Implemented Interfaces:
- Serializable
- public class ProcessingException
- extends Exception
This general exception indicates something went wrong with
the procesing of the documents or templates.
It has the concept of a retryable failure so that the process
may be tried again if desired.
- See Also:
- Serialized Form
Method Summary |
boolean |
canRetry()
Determine if retrying the process might be viable. |
void |
setCanRetry(boolean canRetry)
Set the retry flag. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ProcessingException
public ProcessingException()
ProcessingException
public ProcessingException(String message)
ProcessingException
public ProcessingException(Throwable cause)
ProcessingException
public ProcessingException(String message,
Throwable cause)
canRetry
public boolean canRetry()
- Determine if retrying the process might be viable. This may happen
if one of the underlying pooled resources fails as opposed to the
program. Retrying might be viable in such cases.
- Returns:
- true if a retry can be considered.
setCanRetry
public void setCanRetry(boolean canRetry)
- Set the retry flag.
- Parameters:
canRetry
-
Copyright © 2014 Docmosis Pty Ltd. All Rights Reserved.