|
|||||||||
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.FileFormatNotSupportedException
public class FileFormatNotSupportedException
Represesnts an exception that is raised if a given file format is not supported.
This type of exception would be thrown by one of the convertPDF()
or createPDF()
methods
in cases in which there is an attempt to create a PDF from or to convert an existing PDF to a format that the service does not support.
Field Summary | |
---|---|
int |
errorCode
The error code associated with the file format exception. |
Constructor Summary | |
---|---|
FileFormatNotSupportedException(int errorCode)
For internal use only. |
|
FileFormatNotSupportedException(int errorCode,
String param)
For internal use only. |
|
FileFormatNotSupportedException(int errorCode,
String param,
Throwable cause)
For internal use only. |
|
FileFormatNotSupportedException(int errorCode,
Throwable cause)
For internal use only. |
Method Summary | |
---|---|
int |
getErrorCode()
Returns the error code associated with the exception. |
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 |
Field Detail |
---|
public final int errorCode
Constructor Detail |
---|
public FileFormatNotSupportedException(int errorCode)
A constructor used to create a file format exception based on an error code.
errorCode
- The error code.public FileFormatNotSupportedException(int errorCode, String param)
A constructor used to create a file format 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 FileFormatNotSupportedException(int errorCode, String param, Throwable cause)
A constructor used to create a file format 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 FileFormatNotSupportedException(int errorCode, Throwable cause)
A constructor used to create a file format exception based on an error code, as well as a stack trace based on the cause of the exception.
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |