8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
QException
Description
Exception class for the Manager. This class is returned by the getErrorObject method.
Type
Exception
Members
Name
Type
Description
httpResponseCode
String
HTTP response while executing
command .
managerErrorCode
String
Manager error code for the
exception.
managerErrorMessage
String
Manager localized error
message.
serverErrorCode
String
QuarkXPress server error code
response from Server.
serverErrorMessage
String
Response message from
QuarkXPress Server.
serverExtendedMessage
String
QuarkXPress Server error
extended message.
Example, Object Model
String docName = "notexisting.qxp";
try {
QRequestContext ctx = getRequestContext(docName);
QRequest request = getJPEGRequest();
ctx.setRequest(ctx);
QContentData response = getService().processRequest(ctx);
System.out.println(response.getResponseURL());
}
catch (Exception ex) {
//PLEASE NOTE that the following would work only if manager threw an exception and it
is not a runtime exception. In latter cases, an empty error object will be returned.
QException error = getService().getErrorObject(ex.toString());
System.out.println(error.getServerErrorCode());
}
Page 23