Class 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

      Constructors 
      Constructor Description
      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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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.