it.geosolutions.tools.io.file.writer
Class ExceptionWriter

java.lang.Object
  extended by it.geosolutions.tools.io.file.writer.ExceptionWriter

public final class ExceptionWriter
extends Object

Author:
Carlo Cancellieri - carlo.cancellieri@geo-solutions.it

Constructor Summary
ExceptionWriter()
           
 
Method Summary
static void appendStack(File file, Exception inExc)
          Append the StackTrace to a file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionWriter

public ExceptionWriter()
Method Detail

appendStack

public static void appendStack(File file,
                               Exception inExc)
                        throws Exception
Append the StackTrace to a file

Parameters:
file -
inExc -
Throws:
Exception - problem writing the file (its cause is initted with the input passed Exception)


Copyright © 2011-2012 GeoSolutions. All Rights Reserved.