Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.persistence.jest
Class ExceptionFormatter

    java.lang.Object
      org.apache.openjpa.persistence.jest.XMLFormatter
          org.apache.openjpa.persistence.jest.ExceptionFormatter

All Implemented Interfaces:
  ObjectFormatter<Document>

     class ExceptionFormatter

extends XMLFormatter

Formats error stack trace.

Author:
  Pinaki Poddar

Field Summary

Fields inherited from class org.apache.openjpa.persistence.jest.XMLFormatter
`_loc, _xsd`

Fields inherited from interface org.apache.openjpa.persistence.jest.ObjectFormatter
`dateFormat`

Constructor Summary
`ExceptionFormatter()`

Method Summary
`Document` | `createXML(String header, Throwable e)` Creates a XML Document with given header and stack trace of the given error.

Methods inherited from class org.apache.openjpa.persistence.jest.XMLFormatter
`decorate, encode, encode, getMimeType, ior, newDocument, typeOf, typeOf, typeOf, typeOf, typeOf, validate, write, write, writeOut, writeOut`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ExceptionFormatter

    ExceptionFormatter()

Method Detail

### createXML

    public Document createXML(String header,
                              Throwable e)

  Creates a XML Document with given header and stack trace of the given error.

  Parameters:
    `header` -
    `e` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.