|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.adobe.idp.dsc.DSCException com.adobe.livecycle.generatepdf.client.PDFGBaseException com.adobe.livecycle.generatepdf.client.ConversionException
public class ConversionException
Represents an exception that is thrown if a conversion failed because of an underlying exception.
Constructor Summary | |
---|---|
ConversionException(int errorCode)
For internal use only. |
|
ConversionException(int errorCode,
java.lang.String param)
For internal use only. |
|
ConversionException(int errorCode,
java.lang.String[] param)
|
|
ConversionException(int errorCode,
java.lang.String param,
java.lang.Throwable cause)
For internal use only. |
|
ConversionException(int errorCode,
java.lang.Throwable cause)
For internal use only. |
Method Summary | |
---|---|
java.lang.String |
getConversionLog()
Retrieves the optional conversion log. |
int |
getErrorCode()
Returns the error code associated with the exception. |
void |
setConversionLog(java.lang.String conversionLog)
For internal use only. |
Methods inherited from class com.adobe.livecycle.generatepdf.client.PDFGBaseException |
---|
printFallbackStackTrace, printFallbackStackTrace, setFallbackConversionException |
Methods inherited from class com.adobe.idp.dsc.DSCException |
---|
getError, getMessage, getNestedThrowable, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConversionException(int errorCode)
A constructor used to create a conversion exception based on an error code.
errorCode
- The error code.public ConversionException(int errorCode, java.lang.String param)
A constructor used to create a conversion exception based on an error code, using a message to be displayed.
errorCode
- The error code.param
- A parameter to be inserted in the message that is picked up from a file for the corresponding error code.public ConversionException(int errorCode, java.lang.String[] param)
public ConversionException(int errorCode, java.lang.String param, java.lang.Throwable cause)
A constructor used to create a conversion exception based on an error code, using a message to be displayed as well as a stack trace based on the cause of the exception.
errorCode
- The error code.param
- A parameter to be inserted in the message that is picked up from a file for the corresponding error code.cause
- The exception class used to generate the stack trace based on the cause of the exception.public ConversionException(int errorCode, java.lang.Throwable cause)
errorCode
- The error code.cause
- The exception class used to generate the stack trace based on the cause of the exception.Method Detail |
---|
public int getErrorCode()
getErrorCode
in class PDFGBaseException
public java.lang.String getConversionLog()
public void setConversionLog(java.lang.String conversionLog)
Sets the optional conversion log.
conversionLog
- A String
containing the optional conversion log.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |