com.adobe.livecycle.assembler.client
Class OperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.adobe.livecycle.assembler.client.AssemblerException
              extended by com.adobe.livecycle.assembler.client.OperationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ProcessingException

public class OperationException
extends AssemblerException

An OperationException object is thrown when there is a fatal error that prevents the Assembler service from processing the given DDX document. These exceptions include the mechanics of transferring files to and from the Assembler service as well as converting assembled documents into Document objects and returning them to the client. An OperationException does not include any issues found while executing the DDX job.

See Also:
ProcessingException, Serialized Form

Constructor Summary
OperationException()
          Constructs a new exception with a null message and cause.
OperationException(java.lang.String message)
          Constructs a new exception with the given message.
OperationException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new exception with the given message and cause.
OperationException(java.lang.Throwable cause)
          Constructs a new exception with the given cause.
 
Method Summary
 Document getJobLog()
          Returns a job log which would have been returned in an output map if the job had completed normally.
 void setJobLog(Document jobLog)
          Sets the job log.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationException

public OperationException()
Constructs a new exception with a null message and cause.


OperationException

public OperationException(java.lang.String message)
Constructs a new exception with the given message.

Parameters:
message - The detailed message.

OperationException

public OperationException(java.lang.String message,
                          java.lang.Throwable cause)
Constructs a new exception with the given message and cause.

Parameters:
message - The detail message.
cause - The causing exception. A null value is permitted.

OperationException

public OperationException(java.lang.Throwable cause)
Constructs a new exception with the given cause.

Parameters:
cause - The causing exception. A null value is permitted.
Method Detail

getJobLog

public Document getJobLog()
Returns a job log which would have been returned in an output map if the job had completed normally.

Returns:
A log for the aborted job in XML format.

setJobLog

public void setJobLog(Document jobLog)
Sets the job log.

Parameters:
jobLog - A Document that contains the job log.