Search in sources :

Example 1 with StringBuilderOutputStream

use of org.apache.ignite.internal.commandline.StringBuilderOutputStream in project ignite by apache.

the class IgniteIndexReader method printStackTrace.

/**
 */
private void printStackTrace(Throwable e) {
    OutputStream os = new StringBuilderOutputStream();
    e.printStackTrace(new PrintStream(os));
    outStream.println(os.toString());
}
Also used : PrintStream(java.io.PrintStream) StringBuilderOutputStream(org.apache.ignite.internal.commandline.StringBuilderOutputStream) StringBuilderOutputStream(org.apache.ignite.internal.commandline.StringBuilderOutputStream) FileOutputStream(java.io.FileOutputStream) OutputStream(java.io.OutputStream)

Aggregations

FileOutputStream (java.io.FileOutputStream)1 OutputStream (java.io.OutputStream)1 PrintStream (java.io.PrintStream)1 StringBuilderOutputStream (org.apache.ignite.internal.commandline.StringBuilderOutputStream)1