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
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 |
ExceptionFormatter
ExceptionFormatter()
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
-
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.